W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: MIME type for WAVE with PCM?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 16 Jun 2009 22:02:22 +1200
Message-ID: <11e306600906160302y4a50a7d1rd3e8ec8f253da144@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: public-html@w3.org
On Tue, Jun 16, 2009 at 9:29 PM, Simon Pieters <simonp@opera.com> wrote:

> The spec lists MIME types for various container/codec combinations. But it
> does not list one for WAVE/PCM. There doesn't seem to be any registered MIME
> type for WAVE. Wikipedia says audio/wav, audio/wave, audio/x-wav. What would
> go in the codecs= parameter for PCM?


"1", according to http://www.isi.edu/in-notes/rfc2361.txt. That's what we
use in Gecko. So we return "probably" for canPlayType("audio/wave;
codecs=1"). Codec 0 is "unknown" so we return "maybe" for
canPlayType("audio/wave; codecs=0").

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Tuesday, 16 June 2009 10:02:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:38 GMT