[vorbis-dev] wav output to stdout status?

R.L. Horn rlhorn at mailroom.com
Sat May 5 02:25:34 PDT 2001



On Fri, 4 May 2001 volsung at asu.edu wrote:

>>> The wav driver in libao (in CVS) does not support writing to STDOUT
>>>and will probably never support that.

> The API for libao assumes a streaming source, so there is no way to
> tell the library how long the audio is going to be.  That causes a
> problem here, but it makes the interface simpler overall.

Why not use a temporary file?  Granted it's not really streaming, but it
will get the output into a nonseekable stream (gotta keep them pipes and
sockets happy, you know).
 
Seems like it would require < 10 lines of code to implement (+/- 30 or 40
lines of autoconf-related stuff, naturally :)).

Of course, the other side of the coin is that one could accomplish the
same thing with an 8-line or so shell script.

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