sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Sylvain Leroux <sylvain@chicoree.fr>
To: Måns Rullgård <mans@mansr.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: Soxi warn about missing extended part of the fmt chunk--but it seems to be there
Date: Fri, 22 Nov 2019 21:49:37 +0100
Message-ID: <ae605d9b-af6a-8377-65d1-b085a73fe040@chicoree.fr> (raw)
In-Reply-To: <yw1xsgmfzshs.fsf@mansr.com>

On 22/11/2019 19:16, Måns Rullgård wrote:
> Sylvain Leroux <sylvain@chicoree.fr> 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
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-22 15:10 Sylvain Leroux
2019-11-22 18:16 ` Måns Rullgård
2019-11-22 20:49   ` Sylvain Leroux [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae605d9b-af6a-8377-65d1-b085a73fe040@chicoree.fr \
    --to=sox-users@lists.sourceforge.net \
    --cc=mans@mansr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git