[icecast] ogg and mp3

oddsock oddsock at oddsock.org
Sun Dec 15 03:47:15 UTC 2002



At 01:32 AM 12/15/2002 +0000, you wrote:

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

ah...right...guess I must have missed that part about the callbacks for 
providing data when looking at that lib....ah well...can't see the forest 
thru the trees I guess....

thanks Mike for the pointer..

oddsock

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

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