From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Ogg Opus" |
|---|
| claim | "For mapping family other than 0 the OpusHead has at offset 19: u8 stream count, u8 coupled count, u8 mapping[channel_count]; value < 2*M selects stereo stream value/2 (left if even), value up to 254 otherwise mono stream value-M, 255 silence." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Ogg Opus" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "OpusChannelMappingTable" |
|---|
| size | "variable" |
|---|
| fields | | offset | "0x13" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "stream_count" |
|---|
| notes | "N, not 0" |
|---|
|
| offset | "0x14" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "coupled_count" |
|---|
| notes | "M <= N" |
|---|
|
| offset | "0x15" |
|---|
| size | "channel_count" |
|---|
| type | "uint8_t[channel_count]" |
|---|
| name | "mapping" |
|---|
| notes | "255 = silence" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "RFC 7845 section 5.1.1 Channel Mapping" |
|---|
| repo | "https://www.rfc-editor.org/rfc/rfc7845" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "OpusHead channel mapping table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:42:33.742Z" |
|---|
| verifications | |
|---|