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

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Tue Jul 19 2011 - 06:21:59 EEST

Paul Davis wrote:

> On Mon, Jul 18, 2011 at 9:06 PM, Eric Steinberg
> <eric.steinberg@email-addr-hidden> 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@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jul 19 08:15:04 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2011 - 08:15:04 EEST