[vorbis-dev] playing vorbis file stored in a buffer array

Jack Moffitt jack at icecast.org
Wed Apr 4 15:04:57 PDT 2001



> I'm building an rtsp client/server that will support vorbis and I'm trying
> to determine the best way to play the vorbis content as the array is
> continuously being filled.
> 
> Currently, I can download an ogg file via rtsp and write it out to a FILE
> and then play_file (from ogg123) it when it's done -- so the file is in
> the correct format.
> 
> What would you recommend?

Playing content from non-files is the job of the ov_open_callbacks.  You
can see this at work in the xmms plugin, or the ogg123 streaming code.

You can also consult the ov_open_callbacks docs at
www.xiph.org/ogg/vorbis/docs

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