[vorbis-dev] Q on vorbis_analysis_buffer()

Kenji Chan adslbqmr at tpg.com.au
Mon May 24 04:32:03 PDT 2004



Thank so much, Mike!
Hope Speex soon will have a reference manual for each API function

Actually, some simple comments in the code, e.g. in the include files would
be helpful for everyone?

<p>-----Original Message-----
From: owner-vorbis-dev at xiph.org [mailto:owner-vorbis-dev at xiph.org] On Behalf
Of Michael Smith
Sent: Monday, May 24, 2004 12:03 PM
To: vorbis-dev at xiph.org
Subject: Re: [vorbis-dev] Q on vorbis_analysis_buffer()

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