[vorbis-dev] Q on vorbis_analysis_buffer()

Michael Smith msmith at xiph.org
Sun May 23 19:02:53 PDT 2004



On Monday 24 May 2004 08:01, Kenji Chan wrote:
> I'm confused about the second argument of vorbis_analysis_buffer()
>
> As I know we call vorbis_analysis_buffer() to request the (enough) storage
> for PCM data and later for encoding.
>
> But what does that argument mean? The number of samples per channel or
> bytes per channel or samples all channels...etc?
>
> It seems like "number of samples per channel" to me, as seen in the
> encoder_example.c:

That's correct. This convention is used pretty much throughout libvorbis.

Mike

--- >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