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

RESOLVED FIXED

Status

()

Core
Web Audio
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: git, Assigned: lchristie)

Tracking

44 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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).
(Assignee)

Comment 1

2 years ago
This will be fixed as part of bug 1231793
Assignee: nobody → lchristie
Status: UNCONFIRMED → ASSIGNED
Depends on: 1231793
Ever confirmed: true
(Reporter)

Comment 2

2 years ago
(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.
(Assignee)

Comment 3

2 years ago
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
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.