[icecast] ogg and mp3

msmith at labyrinth.net.au msmith at labyrinth.net.au
Sun Dec 15 01:32:27 UTC 2002



> unfortunately, vorbis input is still eluding me.  it's working to a degree, 
> but falls apart any time a new ogg stream is started (this is done at song 
> changes)...I've based the logic off the decoder example, however, the 
> decoder example reads from files, and I am reading via libcurl and using a 
> circular buffer, and so I did my best to covert the logic, but still have 
> not done so successfully.  I'd LOVE to see a simpler interface to vorbis 
> decoding, something that takes in vorbis data and spits out PCM data would 
> be most excellent, and takes care of dealing with new ogg streams and 
> possibly with callbacks for any new vorbis comments inserted into the stream...
> 

Err.. libvorbisfile. That's a _very_ simple interface, and it's been there
since well before beta1. You don't have callbacks on new streams, but you do
get notified of them so you can take whatever action you need from your main
read loop. There are callbacks for providing data (so you can pull data off
the network instead of reading from files).

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-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 Icecast mailing list