[vorbis-dev] ogg123 buffer -- help!?!?

Monty xiphmont at xiph.org
Mon Jul 31 12:16:23 PDT 2000



> >
> >> Can somebody give me some ideas on how to do buffering cross-platform?
> >> 
> >> open (O_NONBLOCK) - ???
> >> select (fd+1, NULL, &set, NULL, &tv) - NO - Unix only
> >
> >Actually, some variant of this is available just about everywhere.
> 
> Some variant yes, the classic non crossplatform version is using
> file descriptors like the example :)

Meaning that the same functionality exists, and you can wrap it.  No ifdefs 
needed (although a single small ifdef jail will make it more convenient you 
don't need one).

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list