On Fri, Aug 29, 2008 at 11:44:56PM +0200, Thomas Pfaff wrote: > Jacob Meuser wrote: >> I did not write the code, but >> >> a) WAV is a well known format. probably all audio players/converters >> support WAV format. >> b) aucat(1) (previously and in now legacy mode) treats raw streams >> as mono mulaw @ 8kHz, so playing a raw stream with aucat(1) >> (previously or now in legacy mode) would not work correctly. >> c) the WAV header is the first 44 bytes of the stream. it's quite >> simple to turn a WAV into a raw stream, if a raw stream is >> preferred. > > Isn't point c) a slightly dangerous assumption? As far as > I know a WAV file can contain multiple "data" chunks ... > just skipping 44 bytes would be a bad idea in this case.
for a random WAV file, yes, but the WAV's cdio produces don't have multiple data chunks. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org

