[vorbis-dev] libao driver stuff

Jack Moffitt jack at icecast.org
Sun Jan 14 23:22:24 PST 2001



> In ao/include/ao/ao.h you define AO_NULL and AO_WAV to be 0 and 1,
> respectively.  If I want to add a raw driver that is compiled into the main
> library, can I just add
> 
> #define AO_RAW      2
> 
> and then modify ao_initialize to put ao_raw into the driver tree?

Yep, for compiled in drivers (ie, ones that work on all platforms), that's the 
way to do it.  I think there might be another change somewhere depending on 
how I numbered the dynamic drivers.

jack.

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