Re: jack weirdness, and -verbose doesn't help

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

 



Paul Davis wrote:

> On Mon, Jul 18, 2011 at 9:06 PM, Eric Steinberg
> <eric.steinberg@xxxxxxxxx> wrote:
> > Interesting, but it's more like 48-72 hours, and sometimes as much as 100
> > hours before recordings start to break.
> 
> if you're using WAV and recording 2 channels, this is impossible.
> 
> you absolutely cannot record more than 2^31 bytes into a WAV file.
> ever, under any circumstances, with any software.

Err, actually, up to 2^32+7 bytes is ok for WAV [0]. More than
that and you have an invalid file. Many programs will produce
an invalid WAF file if you ask them :-).

Erik

[0] A WAV file consists or four bytes 'RIFF' followed by an uint32_t
    with the length of the file following the length field. Biggest
    number in a uint32_t is 0xffffffff so the file can be that big
    plus 8 bytes for 'RIFF' and the length.
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[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