[vorbis-dev] Controlling

Ignacio Vazquez-Abrams ignacio at openservices.net
Tue Sep 25 17:29:24 PDT 2001



On Tue, 25 Sep 2001, Brian Hook wrote:

> More newbie questions, please bear with me =)
>
> I've got my high level code pretty well structured, and I'm now trying
> to decode vorbis streams on the fly using the ov_open_callbacks()
> routines.  I can't seem to figure out how to tell it what output format
> I want -- is this possible?  For example, I would like to be able to
> specify number of channels output (e.g. stereo vs. sum-to-mono vs.
> reversed stereo) and possibly the ideal output frequency (to match user
> configuration).  Is this possible?

The only thing you can tell it is whether you want 8 or 16 bit samples. The
other parameters are set when the file is encoded. Any mixing or resampling
magic will have to be done in your code.


-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>

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