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:25 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/7/24244116@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=18510#8) by Philip J├Ągenstedt on W3C Bugzilla. Tue, 28 Aug 2012 07:48:37 GMT

(In reply to [comment #8](#issuecomment-24244108))
> 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.

Can you clarify how varying codec support between browsers and platforms make sniffing any harder? AFAIK, none of the formats supported by any browser are hard to sniff or possible to mistake for another supported format.

Reply to this email directly or view it on GitHub:
Received on Wednesday, 11 September 2013 14:29:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:24 UTC