Repository navigation
Conversation
RFC 7845 section 5.1.1.2 gives 7 channels as 5 streams with 2 coupled pairs. The table said 4 streams and 3 coupled, so a 6.1 Opus voice was split into the wrong streams. Adds a test that checks the mappings of 3 to 8 channels. Part of xcl-dev#327
milas6669
force-pushed
the
opus-6-1-channel-mapping
branch
from
November 24, 2026 02:46
9b88e88 to
8b98ba9
Compare
Contributor
Author
|
Closing: #506 already covers this and was opened earlier. Please review it instead. |
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.
The 7-channel (6.1) Vorbis mapping said 4 streams, 3 coupled. RFC 7845 section 5.1.1.2 gives 5 streams with 2 coupled pairs. One table row, and a test of the mappings for 3 to 8 channels.
Part of #327 (item 2). Items 1 and 3 are separate.
What is in it
opus.rs: the7 =>row ofvorbis_mapping; testopus_head_vorbis_channel_mappings_match_rfc7845(fails without the fix)Tested
cargo test --workspace -- --test-threads=4: 646 passed, 0 failed, 21 ignoredgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
scripts/smoke.ps1againstNot tested
scripts/smoke.ps1main vs PR headAI use