Re: Soxi warn about missing extended part of the fmt chunk--but it seems to be there

Sylvain Leroux <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On 22/11/2019 19:16, Måns Rullgård wrote:
> Sylvain Leroux <[email protected]> writes:
> 
>>
>> I am working now on a Wave file exporter, and while using `soxi` to
>> verify the my wave files are well formed, I noticed the warning "wave
>> header missing extended part of fmt chunk":
>>
>>> 00000000  52 49 46 46 cc d0 09 00  57 41 56 45 66 6d 74 20  |RIFF....WAVEfmt |
>>> 00000010  28 00 00 00 fe ff 01 00  80 bb 00 00 00 ee 02 00  |(...............|
>>> 00000020  04 00 20 00[16 00]20 00  00 00 00 00 03 00 00 00  |.. ... .........|
>>> 00000030  00 00 10 00 80 00 00 aa  00 38 9b 71 66 61 63 74  |.........8.qfact|
>>> 00000040  04 00 00 00 80 d0 09 00  64 61 74 61 80 d0 09 00  |........data....|
>>> 00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>>> *
>>> 0009d0d0
>>
>> At byte 0x24 we can see 0x0016 which is the size (22 bytes) of the
>> extended fmt header, followed by the extended header content. And after
>> that, the `fact` chunk starts.
>>
>> Why is `soxi` considering the extended header is missing?
> 
> There is a small bug that triggers that warning in error for some
> combinations of parameters.  Your file header looks correct to me.
> 

Thank you for your reply Måns.

OK, I will keep going like that.

- Sylvain


_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.