[Bug 18510] New: decodeAudioData should accept a mime-type

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18510

           Summary: decodeAudioData should accept a mime-type
           Product: AudioWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Audio API
        AssignedTo: crogers@google.com
        ReportedBy: tross@microsoft.com
         QAContact: public-audio@w3.org


The decodeAudioData method on AudioContext is stated to support any of the
formats supported by the <audio> element, but unlike the <audio> element it
doesn't allow the author to state the format of the audio data (since the
ArrayBuffer is already a step removed from the XMLHttpRequest likely used to
fetch the data).

We should fix this by adding an (ideally required) contentType argument to
decodeAudioData to communicate the format of the audio in the provided
ArrayBuffer.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 9 August 2012 16:16:46 UTC