Re: [web-audio-api] decodeAudioData should accept a mime-type (#7)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=18510#7) by Ehsan Akhgari [:ehsan] on W3C Bugzilla. Mon, 27 Aug 2012 21:19:09 GMT

I would also prefer decodeAudioData to accept a non-optional mimeType argument, and I think we raise an error if the mimeType argument is not supported by the engine.  The reason that I would advocate for this change is that the audio codecs supported by each engine (potentially on each platform) is different, and that makes sniffing even worse than it already is.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/7#issuecomment-24244108

Received on Wednesday, 11 September 2013 14:32:12 UTC