Repository navigation
Conversation
4 of 5 tasks
Contributor
Author
|
@jrusso1020, could you review this follow-up to your feedback on #5563? It checks gain compensation for two tracks and the retry when both normalization and volume automation fail. All 87 mixer tests passed locally, and GitHub CI is green. |
2 of 3 tasks
Contributor
|
This PR has had no activity for 14 days, so it is marked stale and will close in 7 days. Push a commit or leave a comment to keep it open. A maintainer can add |
Contributor
Author
|
@jrusso1020, this follow-up is still active. The branch was synced with |
This branch has not been deployed
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.
What
Strengthen audio fallback regression coverage and retain the explanation for timestamp renumbering.
Why
The one-track normalize fallback test cannot detect a missing
volume=Ncompensation. It also does not cover the sequence where normalize=0 is unsupported and the following automated mix needs a static-volume retry.Related work
Refs #5563 and #5563 (review), addressing all three nonblocking nits.
The suggested group-padding optimization is already merged in #6101. This PR does not duplicate it. Open #6612 changes boosted-volume handling; these cases use unity/sub-unity gain and test fallback graph selection instead.
How
Use two delayed/overlapping tracks and parameterize the fallback test with and without automation. Assert both padded input branches, the unnormalized two-input sum, compensation gain of two, and retention of that graph after the static-volume retry. The automated case also checks that the degradation warning is surfaced. Restore the comment explaining why asetpts must sit between apad and atrim for delayed audio on FFmpeg 5-8.0.
Test plan
bun run --cwd packages/engine test src/services/audioMixer.test.ts: 87 passed.These are graph and retry regression tests using the existing FFmpeg mock. No new real-FFmpeg performance or waveform measurements are claimed. No production behavior changes.
Implementation and validation were assisted by Codex.