[vorbis-dev] Wave Header Question
gerry at c64.org
Sun Jan 14 12:09:53 PST 2001
> I have found that at the start of playback (from libao's perspective), I
> all of the wav header info except two things:
> 1) The length of the RIFF chunk. (filesize - 8, in our case)
> 2) The length of the data chunk. (filesize - 44, in our case)
> Assuming I have no idea how long the file is going to be, what are sane
> to put in for these lengths ahead of time? I find if I put 0, the sox
> frontend "play" will just play nothing (it actually pays attention to the
Just a thought, maybe it just checks for a valid header ? The filesize in
riff should be at least enough for the header.. Then subtract 36 (44-8 :)
and put that value in datachunk.. Let me know if it works :)
--- >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