You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It describes, for Linear PCM, the (1) fully qualified codec strings,
488
488
(2) the codec-specific <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#encodedaudiochunk" id="ref-for-encodedaudiochunk">EncodedAudioChunk</a></code><adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#dom-encodedaudiochunk-internal-data-slot" id="ref-for-dom-encodedaudiochunk-internal-data-slot">[[internal data]]</a> bytes, (3) the <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#dom-audiodecoderconfig-description" id="ref-for-dom-audiodecoderconfig-description">AudioDecoderConfig.description</a></code>, and (4) the values of <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#encodedaudiochunk" id="ref-for-encodedaudiochunk①">EncodedAudioChunk</a></code><adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#dom-encodedaudiochunk-type-slot" id="ref-for-dom-encodedaudiochunk-type-slot">[[type]]</a>.</p>
489
-
<p>Linear PCM is the <ahref="https://www.w3.org/TR/webcodecs/#audio-sample-formats">raw audio format</a> used
489
+
<p>Linear PCM is the <ahref="https://w3c.github.io/webcodecs/#audio-sample-formats">raw audio format</a> used
490
490
491
491
in WebCodecs and does not require decoding. The motivation for registering
492
492
the Linear PCM codec is to enable passthrough "decoding" of PCM content as
<p>pcm-s16, using format <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#dom-audiosampleformat-s16" id="ref-for-dom-audiosampleformat-s16">s16</a></code></p>
552
552
<lidata-md>
553
-
<p>pcm-s24, using three <ahref="https://webidl.spec.whatwg.org/#idl-octet">byte</a> (24-bit) <adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#sample" id="ref-for-sample">samples</a> with <adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#interleaved" id="ref-for-interleaved">interleaved</a><ahref="https://www.w3.org/TR/webcodecs/#audio-buffer-arrangement">channel arrangement</a>.</p>
553
+
<p>pcm-s24, using three <ahref="https://webidl.spec.whatwg.org/#idl-octet">byte</a> (24-bit) <adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#sample" id="ref-for-sample">samples</a> with <adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#interleaved" id="ref-for-interleaved">interleaved</a><ahref="https://w3c.github.io/webcodecs/#audio-buffer-arrangement">channel arrangement</a>.</p>
554
554
<lidata-md>
555
555
<p>pcm-s32, using format <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#dom-audiosampleformat-s32" id="ref-for-dom-audiosampleformat-s32">s32</a></code></p>
<p>The <adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#dom-encodedaudiochunk-type-slot" id="ref-for-dom-encodedaudiochunk-type-slot①">[[type]]</a> for an <codeclass="idl"><adata-link-type="idl" href="https://w3c.github.io/webcodecs/#encodedaudiochunk" id="ref-for-encodedaudiochunk④">EncodedAudioChunk</a></code> containing
574
574
Linear PCM is always "<adata-link-type="dfn" href="https://w3c.github.io/webcodecs/#dom-encodedaudiochunktype-key" id="ref-for-dom-encodedaudiochunktype-key">key</a>".</p>
575
575
<h2class="heading settled" data-level="5" id="privacy-and-security-considerations"><spanclass="secno">5. </span><spanclass="content">Privacy and Security Considerations</span><aclass="self-link" href="#privacy-and-security-considerations"></a></h2>
576
-
<p>Please refer to the <ahref="https://www.w3.org/TR/webcodecs/#privacy-considerations">Privacy Considerations</a> and <ahref="https://www.w3.org/TR/webcodecs/#security-considerations">Security Considerations</a> sections in <adata-link-type="biblio" href="#biblio-webcodecs">[WEBCODECS]</a>.</p>
576
+
<p>Please refer to the <ahref="https://w3c.github.io/webcodecs/#privacy-considerations">Privacy Considerations</a> and <ahref="https://w3c.github.io/webcodecs/#security-considerations">Security Considerations</a> sections in <adata-link-type="biblio" href="#biblio-webcodecs">[WEBCODECS]</a>.</p>
<dd>S. Bradner. <ahref="https://datatracker.ietf.org/doc/html/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <ahref="https://datatracker.ietf.org/doc/html/rfc2119">https://datatracker.ietf.org/doc/html/rfc2119</a>
746
746
<dtid="biblio-webcodecs">[WEBCODECS]
747
-
<dd>Chris Cunningham; Paul Adenot; Bernard Aboba. <ahref="https://www.w3.org/TR/webcodecs/"><cite>WebCodecs</cite></a>. 16 February 2022. WD. URL: <ahref="https://www.w3.org/TR/webcodecs/">https://www.w3.org/TR/webcodecs/</a>
747
+
<dd>Chris Cunningham; Paul Adenot; Bernard Aboba. <ahref="https://w3c.github.io/webcodecs/"><cite>WebCodecs</cite></a>. URL: <ahref="https://w3c.github.io/webcodecs/">https://w3c.github.io/webcodecs/</a>
748
+
<dtid="biblio-webidl">[WEBIDL]
749
+
<dd>Web Interface Description Language (Second Edition) URL: <ahref="https://webidl.spec.whatwg.org/">https://webidl.spec.whatwg.org/</a>
<dd>Chris Cunningham; Paul Adenot; Bernard Aboba. <ahref="https://www.w3.org/TR/webcodecs-codec-registry/"><cite>WebCodecs Codec Registry</cite></a>. 21 March 2022. NOTE. URL: <ahref="https://www.w3.org/TR/webcodecs-codec-registry/">https://www.w3.org/TR/webcodecs-codec-registry/</a>
754
+
<dd>Chris Cunningham; Paul Adenot; Bernard Aboba. <ahref="https://w3c.github.io/webcodecs/codec_registry.html"><cite>WebCodecs Codec Registry</cite></a>. URL: <ahref="https://w3c.github.io/webcodecs/codec_registry.html">https://w3c.github.io/webcodecs/codec_registry.html</a>
0 commit comments