From 5ae677003dd79f031595b47df99e5b2a7d118ed9 Mon Sep 17 00:00:00 2001 From: steven-na Date: Wed, 5 Aug 2026 13:05:55 -0700 Subject: API change and formatting --- tests/wav.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/wav.c') diff --git a/tests/wav.c b/tests/wav.c index 53a62eb..839b31f 100644 --- a/tests/wav.c +++ b/tests/wav.c @@ -258,7 +258,7 @@ Test(wav, read_rejects_non_pcm_format, .init = non_pcm_setup, .fini = non_pcm_te wav_data_t data = { .samples = &sample, .sample_count = 1 }; wav_fmt_chunk_t fmtchunk = make_wav_fmt_chunk(1, 8000, 8); - fmtchunk.audio_format = 3; // IEEE 754 float, not PCM + fmtchunk.audio_format = 6; // A-law, neither PCM integer (1) nor IEEE float (3) cr_assert(write_wav_file(wav_file, &fmtchunk, data)); @@ -274,7 +274,7 @@ Test(wav, read_rejects_non_pcm_format, .init = non_pcm_setup, .fini = non_pcm_te fclose(readback_file); - cr_expect_eq(read_fmtchunk.audio_format, 3); + cr_expect_eq(read_fmtchunk.audio_format, 6); cr_expect_eq(read_data.samples, NULL); smrt_arena_destroy(arena); -- cgit v1.2.3