[Vorbis] Random Writes

Greycode lists at greycode.ca
Tue May 27 18:42:03 PDT 2008


Thanks for your help. I'll take a look at the crosslapped api.

Ralph Giles wrote:
> On 26-May-08, at 8:37 PM, Greycode wrote:
>
>> VBR does make this more interesting. Is there any
>> dependencies on previous input?
>
> Yes. Vorbis is a lapped-block codec, so each packet depends on the 
> previous one. Also iirc the reference encoder has a three block 
> latency for analysis. So you need to encode more than ~10 blocks in a 
> row to get reasonable output.
>
> A lot of games do playback of short vorbis-compressed sounds and 
> loops. There's a "crosslapped" api entry for mixing across the 
> boundaries. If that helps at all...
>
>  -r
>
>



More information about the Vorbis mailing list