Skip to content

Commit 3ede45e

Browse files
committed
Explicitly include roll distance and pre-skip, when non-zero.
- Normally, these are defaulted to have the correct values computed and used automatically. - But we can curate it for the test suite. - Disable automatic computation, so we can remember to curate it if/when it changes in the future. PiperOrigin-RevId: 856641289
1 parent b31ffc7 commit 3ede45e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

iamf/cli/testdata/test_000846.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ ia_sequence_header_metadata {
3939
codec_config_metadata {
4040
codec_config_id: 200
4141
codec_config {
42+
automatically_override_codec_delay: false
43+
automatically_override_audio_roll_distance: false
4244
codec_id: CODEC_ID_OPUS
4345
num_samples_per_frame: 960
46+
audio_roll_distance: -4
4447
decoder_config_opus {
4548
version: 1
49+
pre_skip: 312
4650
input_sample_rate: 48000
4751
opus_encoder_metadata {
4852
target_bitrate_per_channel: 64000

iamf/cli/testdata/test_000848.textproto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# proto-message: UserMetadata
1313

1414
test_vector_metadata {
15-
human_readable_description: "An IA Sequence with an LPCM and AAC Codec Config ."
15+
human_readable_description: "An IA Sequence with an LPCM and AAC Codec Config."
1616
file_name_prefix: "test_000848"
1717
is_valid: true
1818
is_valid_to_decode: true
@@ -39,6 +39,8 @@ ia_sequence_header_metadata {
3939
codec_config_metadata {
4040
codec_config_id: 200
4141
codec_config {
42+
automatically_override_codec_delay: false
43+
automatically_override_audio_roll_distance: false
4244
codec_id: CODEC_ID_AAC_LC
4345
num_samples_per_frame: 1024
4446
audio_roll_distance: -1

0 commit comments

Comments
 (0)