[LAU] jack weirdness, and -verbose doesn't help
Erik de Castro Lopo
mle+la at mega-nerd.com
Tue Jul 19 03:21:59 UTC 2011
Paul Davis wrote:
> On Mon, Jul 18, 2011 at 9:06 PM, Eric Steinberg
> <eric.steinberg at gmail.com> 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/
More information about the Linux-audio-user
mailing list