Re: MIME type for WAVE with PCM?

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 UTC