Repository navigation
Add 32 bit handling for flac - #6638
Closed
LWinterberg wants to merge 1 commit into
Closed
LWinterberg wants to merge 1 commit into
LWinterberg wants to merge 1 commit into
Conversation
kdm9
added a commit
to gekkonid/audacity
that referenced
this pull request
Jul 23, 2025
Ressurects audacity#6638, to solve audacity#6606. We handle this by promoting 24/32bit FLAC files to floating point tracks. I believe this fixes audacity#6606 for me, though I am still testing on more sample data, and comparing to external conversion with ffmpeg to check.
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #6606
Well, it doesn't yet. I see that in line 171 following, 32 bit is handled while in the bit I changed here it wasn't, but when I try the file provided in the bug, it doesn't quite work and runs into an assert violation in
WaveCacheSampleBlock::Summary WaveCacheSampleBlock::GetSummaryforassert(summary.Min <= summary.Max);(because min is +inf while max is -inf). So there's something here I'm not understanding.Edit: One of the issues is that 32-bit int is not 32-bit float.