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

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=18510#2) by Marat Tanalin | tanalin.com on W3C Bugzilla. Thu, 09 Aug 2012 23:31:53 GMT

(In reply to [comment #1](#issuecomment-24244075))
> Hi Tony, I'm just trying to get a better idea of why the contentType would be
> needed.  Are there some particular audio formats which can't be correctly
> inferred through "sniffing" the audio data, which is what we're doing today.

Need for guessing when we could know exactly is always a bad idea. Intentional abandoning of [at least optional] ability to specify type of a thing explicitly is a bad idea squared.

Imagine a world where there are neither MIME types nor file extensions at all. Nightmare.

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

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