[vorbis-dev] wav output to stdout status?

R.L. Horn rlhorn at mailroom.com
Mon May 7 02:33:48 PDT 2001



>> Why not use a temporary file?

> Bad, bad hack.  Don't like it, and we really don't need it.

You'll get no argument from the guy who made the suggestion.  However, if
anyone really cares (and, to be brutally frank, I don't :)) there may be
another option.

While the wav format specifies that data be encapsulated in RIFF chunks,
it doesn't appear to limit those data to a single chunk.  So, you could
break up the audio into nice bite-sized individually-wrapped sanitary
servings.

Unfortunately, it's not at all clear (at least not in my documentation)
whether or not a simple list of data chunks is kosher.  Astonishingly, it
may be necessary to put the *list* itself into a list chunk (for wave data
that would be a 'wavl' chunk) of known size.

Then there's the problem of finding wav readers that actually support
this.

For what little it's worth, my suggestion would be to get Sun/NeXT
.au/.snd support into libao.  It's simple (just burp out a header and make
certain the data are big-endian), well documented, and reasonably well
supported.  Heck I may even write it myself.

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