[linux-audio-user] Funky wav file format 674f

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 12 Oct 2003 20:12:48 -0400
Taybin Rutkin <taybin@xxxxxxxxxxxxx> wrote:

> On Sun, 2003-10-12 at 17:15, Pete Bessman wrote:
> > On Mon, 13 Oct 2003 06:59:54 +1000, "Erik de Castro Lopo"
> > <erikd-lad@xxxxxxxxxxxxx> said: 
> > > Do you see what I see?
> > 
> > HEH!  So I wonder what that WAV header is doing in the file?
> > Hmm, and what superior set of heuristics is XMMS using
> > to sox and my sundry hacks to determine the files identity?

Actually, no. IMO determining the file type by the use of magic
numbers is preferable.

> Isn't one of the definitions of a WAV file is that it can merely wrap
> another file format?  And usually that format is RIFF, but not
> necessarily?

Actually it is RIFF that wraps WAV. 

However, take another look at that hexdump. The 'RIFF' chunk enclosed a
'WAVE' chunk and then the Ogg data is contained inside the 'data' chunk.

Personally I think that is dodgy; a typical hack on top of a bodge etc.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@xxxxxxxxxxxxx (Yes it's valid)
+-----------------------------------------------------------+
"Reality is just a crutch for people that can't handle CyberSpace!!"
- Hank Duderstadt


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux