Skip to content

Commit 754ac0c

Browse files
Merge pull request #884 from AOMediaCodec/issue_869
fix #869: The reference for FLAC is changed into RFC-9639
2 parents a3c2f31 + 0299099 commit 754ac0c

1 file changed

Lines changed: 27 additions & 25 deletions

File tree

index.bs

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,23 @@ url: https://www.itu.int/rec/R-REC-BS.2051#; spec: ITU-2051-3; type: dfn;
101101
text: Loudspeaker configuration for Sound System J (4+7+0)
102102
text: SP Label
103103

104-
url: https://xiph.org/flac/format.html; spec: FLAC; type: dfn;
105-
text: METADATA_BLOCK
106-
text: METADATA_BLOCK_STREAMINFO
107-
text: FRAME
108-
text: FRAME_HEADER
104+
url: https://tools.ietf.org/html/rfc9639#; spec: RFC-9639; type: dfn;
105+
text: Metadata Block
106+
text: Streaminfo
107+
text: Frame
108+
text: Frame Header
109109
text: minimum block size
110110
text: maximum block size
111111
text: minimum frame size
112112
text: maximum frame size
113-
text: number of channels
114-
text: MD5 signature
115-
text: Block size in inter-channel samples
116113
text: Sample rate
117-
text: Channel assignment
118-
text: Sample size in bits
114+
text: (number of channels) - 1
115+
text: bits per sample
116+
text: MD5 checksum
117+
text: Block Size Bits
118+
text: Sample Rate Bits
119+
text: Channels Bits
120+
text: Bit Depth Bits
119121

120122
url: https://www.iso.org/standard/77752.html#; spec: MP4-PCM; type: dfn;
121123
text: format_flags
@@ -194,11 +196,11 @@ url: https://www.iso.org/standard/84637.html#; spec: CENC; type: dfn;
194196
"publisher": "ISO",
195197
"href": "https://www.loc.gov/standards/iso639-2/php/code_list.php"
196198
},
197-
"FLAC": {
198-
"title": "Free Lossless Audio Codec",
199-
"status": "Best Practice",
200-
"publisher": "xiph.org",
201-
"href": "https://xiph.org/flac/format.html"
199+
"RFC-9639": {
200+
"title": "Free Lossless Audio Codec (FLAC)",
201+
"status": "Standard",
202+
"publisher": "IETF",
203+
"href": "https://tools.ietf.org/html/rfc9639"
202204
},
203205
"AV1-Spec": {
204206
"title": "AV1 Bitstream & Decoding Process Specification",
@@ -631,7 +633,7 @@ class CodecConfig() {
631633

632634
- <code>Opus</code>: All coded [=Audio Substream=]s referred to by all [=Audio Element=]s with this codec configuration SHALL comply with the [[!RFC-6716]] specification and the [=decoder_config=] structure SHALL comply with the constraints given in [[#opus-specific]].
633635
- <code>mp4a</code>: All coded [=Audio Substream=]s referred to by all [=Audio Element=]s with this codec configuration SHALL comply with the [[!AAC]] specification and the [=decoder_config=] structure SHALL comply with the constraints given in [[#aac-lc-specific]].
634-
- <code>fLaC</code>: All coded [=Audio Substream=]s referred to by all [=Audio Element=]s with this codec configuration SHALL comply with the [[!FLAC]] specification and the [=decoder_config=] structure SHALL comply with the constraints given in [[#flac-specific]].
636+
- <code>fLaC</code>: All coded [=Audio Substream=]s referred to by all [=Audio Element=]s with this codec configuration SHALL comply with the [[!RFC-9639]] specification and the [=decoder_config=] structure SHALL comply with the constraints given in [[#flac-specific]].
635637
- <code>ipcm</code>: All coded [=Audio Substream=]s referred to by all [=Audio Element=]s with this codec configuration SHALL contain linear PCM (LPCM) audio samples and the [=decoder_config=] structure SHALL comply with the constraints given in [[#lpcm-specific]].
636638

637639
Parsers SHOULD ignore [=Codec Config OBU=]s with a [=codec_id=] that they don't support.
@@ -1883,21 +1885,21 @@ The sample rate used for computing offsets SHALL be the rate indicated by the [=
18831885

18841886
[=codec_id=] SHALL be <code>fLaC</code>, the FLAC stream marker in ASCII, meaning byte 0 of the stream is 0x66, followed by 0x4C 0x61 0x43.
18851887

1886-
The [=DecoderConfig()=] class for FLAC is the [=METADATA_BLOCK=]s of [[!FLAC]] for mono or stereo channels. The [=METADATA_BLOCK_STREAMINFO=] has the following constraints:
1888+
The [=DecoderConfig()=] class for FLAC is the [=Metadata Block=]s of [[!RFC-9639]] for mono or stereo channels. The [=Streaminfo=] has the following constraints:
18871889
- [=minimum block size=] SHALL be set to [=num_samples_per_frame=].
18881890
- [=maximum block size=] SHALL be set to [=num_samples_per_frame=].
18891891
- [=minimum frame size=] SHOULD be set to 0.
18901892
- [=maximum frame size=] SHOULD be set to 0.
1891-
- [=number of channels=] SHALL be set to 1. [=number of channels=] can be ignored because the real value can be determined from the [=Audio Element OBU=] and from the [=Frame_Header=].
1892-
- [=MD5 signature=] SHOULD be set to 0.
1893+
- [=(number of channels) - 1=] SHALL be set to 1. [=(number of channels) - 1=] can be ignored because the real value can be determined from the [=Audio Element OBU=] and from the [=Frame Header=].
1894+
- [=MD5 checksum=] SHOULD be set to 0.
18931895

1894-
The format of [=audio_frame=] is [=FRAME=] of [[!FLAC]] which contains only one single frame of mono or stereo channels with the following constraints.
1895-
- [=Block size in inter-channel samples=] in the [=FRAME_HEADER=] SHALL be set to [=num_samples_per_frame=].
1896-
- [=Sample rate=] in the [=FRAME_HEADER=] SHALL indicate the same sample rate defined in the [=METADATA_BLOCK_STREAMINFO=].
1897-
- [=Channel assignment=] in the [=FRAME_HEADER=] SHALL be set to 0 or 1 to indicate that the [=FRAME=] contains mono channel or stereo channels, respectively.
1898-
- [=Sample size in bits=] in the [=FRAME_HEADER=] SHALL indicate the same sample size defined in the [=METADATA_BLOCK_STREAMINFO=].
1896+
The format of [=audio_frame=] is [=Frame=] of [[!RFC-9639]] which contains only one single frame of mono or stereo channels with the following constraints.
1897+
- [=Block Size Bits=] in the [=Frame Header=] SHALL be set to [=num_samples_per_frame=].
1898+
- [=Sample Rate Bits=] in the [=Frame Header=] SHALL indicate the same sample rate defined in the [=Streaminfo=].
1899+
- [=Channel Bits=] in the [=Frame Header=] SHALL be set to 0 or 1 to indicate that the [=FRAME=] contains mono channel or stereo channels, respectively.
1900+
- [=Bit Depth Bits=] in the [=Frame Header=] SHALL indicate the same [=bits per sample=] defined in the [=Streaminfo=].
18991901

1900-
The sample rate used for computing offsets SHALL be the sampling rate indicated in the [=METADATA_BLOCK=].
1902+
The sample rate used for computing offsets SHALL be the sampling rate indicated in the [=Metadata Block=].
19011903

19021904
### LPCM Specific ### {#lpcm-specific}
19031905

0 commit comments

Comments
 (0)