Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Thomas Pfaff (tpfaffagderlink.no)
Date: Fri Aug 29 2008 - 16:44:56 CDT
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
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.