-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IETF test cases - 1 of 64 FAIL (63 of 64 PASS) in frame.TestFrameHash (decoding audio samples) #60
Closed
7 tasks done
Labels
Comments
mewmew
added a commit
that referenced
this issue
Oct 24, 2023
…and 20 bit) This fixes IETF test cases 22, 37 and 62. Updates #60.
MD5 mismatches for decoded audio samples:
|
mewmew
added a commit
that referenced
this issue
Oct 24, 2023
Fixed by @MarkKremer in #61. |
Closed
(from: #61 (comment)) The v1.0.9 release has now been tagged. Very happy to see that the audio samples of the IETF test cases are now correctly decoded by mewkiz/flac. Cheerful regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is a follow-up on #54 (which handles FLAC stream decoding). In particular, this issue handles issues of FLAC audio sample decoding (e.g. mismatch between expected audio samples and decoded audio samples).
The IETF flac-test-files repository contains 64 FLAC files, published by @ktmf01, which help exercise corner cases of the FLAC decoder.
When adding these test cases to the test suite, 7 of 64 FLAC files resulted in audio sample decoding failures, namely:
This issue tracks the resolution of the identified decoding issues.
16_-_partition_order_8_containing_escaped_partitions.flac
22_-_12_bit_per_sample.flac
32_-_high_resolution_audio,_partition_order_8_containing_escaped_partitions.flac
37_-_20_bit_per_sample.flac
62_-_predictor_overflow_check,_20-bit.flac
63_-_predictor_overflow_check,_24-bit.flac
64_-_rice_partitions_with_escape_code_zero.flac
To reproduce, run:
go test -v github.com/mewkiz/flac/frame
Remember to initiate the submodule for IETF test cases in the testdata/flac-test-files directory:
The text was updated successfully, but these errors were encountered: