Closed Bug 1245546 Opened 8 years ago Closed 8 years ago

Wave Decoding on problematic files, and 6-8 channel files

Categories

(Core :: Web Audio, defect)

44 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: git, Assigned: lchristie)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160123151951

Steps to reproduce:

I'm working on an audio editor and was testing some multi-channel files.

This specific file loads in Chrome, but not in Firefox:
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples/Microsoft/6_Channel_ID.wav

This is low priority IMO, but there's a good list of audio test files located here:

http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/

I'm not sure how crazy you want to get with supporting all file formats.


Actual results:

The call to decodeAudioData() failed.


Expected results:

I would expect the call to decodeAudioData() to succeed, either by giving me an AudioBuffer with 6 channels, or giving me the audioBuffer with a supported channelCount (if 6 channels is more than the valid maxChannelCount).
This will be fixed as part of bug 1231793
Assignee: nobody → lchristie
Status: UNCONFIRMED → ASSIGNED
Depends on: 1231793
Ever confirmed: true
(In reply to Louis Christie from comment #1)
> This will be fixed as part of bug 1231793

Thanks for the update!  BTW- I updated this test suite to include some of the problematic wave files: https://chinpen.net/decodethis/

You can compare the Firefox results to Chrome.  I'm not sure if it will help in your testing or not.
Fixed in Mozilla-central now that bug 1231793 has been fixed. Wave files with multiple channels (more than 2) should now play.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.