W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

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

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:22 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/7/24244077@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=18510#1) by Tony Ross [MSFT] on W3C Bugzilla. Thu, 09 Aug 2012 21:42:15 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.

Sure, though some formats are more challenging to distinguish, my bigger concern here is interoperability. Sniffing generally isn't well-specified and, even if it were, introduces a fair amount of additional complexity which can lead to differences in behavior across implementations. This can also become more challenging/complicated as new formats are introduced over time.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/7#issuecomment-24244077
Received on Wednesday, 11 September 2013 14:31:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC