Hans Petter Selasky <h...@selasky.org> writes:

> On 11/08/17 12:07, Måns Rullgård wrote:
>> The WAV container is limited to 64k channels.  We could of course
>> enforce a lower limit.
>
> Hi,
>
> You should not allow that many channels. Make sure the value is >= 1, to
> avoid division by zero

We already do that.

> and <= 512 to avoid overflow.

That's a pretty arbitrary limit.

> During my time as a sound technican, it is very rare that the number
> of channels go beyond 64. It has practical implications, that the data
> rate goes into the roof and USB audio among others is not possible.

During my time working on AV software, there's no end to the crazy
things I've seen people do.  Someone might have a good reason to store a
silly number of channels.  Not all audio files are intended to be sent
to a playback device.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to