[vorbis-dev] Samples inside a packet

Monty xiphmont at xiph.org
Fri May 7 15:33:35 PDT 2004



On Fri, May 07, 2004 at 04:54:23PM -0300, Adriano Almeida wrote:
> Hi,
> 
> Just to confirm:
> for blockSizes of 256 and 2048 (0 and 1 respectively) the number of sample inside this audio packet will be acording to table below:
> 
> LastWind    ThisWin    Samples
> 0                0               128
> 0                1                576
> 1                0                576
> 1                1                1024
> 
> Correct??  

Short answer is yes; to be painfully picky (it can matter in some
cases) what it really means is "this is how many finished samples
result from overlap/add of these two packets".  But your math is correct.

1/4 of packet A + 1/4 of packet B.

Cheers,
Monty
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list