Skip to content

Commit

Permalink
FLAC number_of_channels is offset by 1. Recommend a different value.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwcullen authored and tdaede committed Jul 17, 2023
1 parent e95ebb5 commit 24e6ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@ The sample rate used for computing offsets SHALL be the rate indicated by the [=
- [=maximum block size=] SHALL be set to [=num_samples_per_frame=].
- [=minimum frame size=] SHOULD be set to 0.
- [=maximum frame size=] SHOULD be set to 0.
- [=number of channels=] SHALL be set to 2. [=number of channels=] can be ignored because the real value can be determined from the [=Audio Element OBU=].
- [=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=].
- [=MD5 signature=] SHOULD be set to 0.

The format of [=audio_frame()=] is [=FRAME=] of [[!FLAC]], which is composed of [=FRAME_HEADER=], followed by [=SUBFRAME=](s) (one [=SUBFRAME=] per channel) and followed by [=FRAME_FOOTER=].
Expand Down

0 comments on commit 24e6ded

Please sign in to comment.