Skip to main content
Topic: Correct Channel Ordering for Raw PCM (Read 1186 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Correct Channel Ordering for Raw PCM

I am having trouble determining what the correct channel ordering is for opusenc to encode raw PCM.  I'm interested in 5.1, 6.1 and 7.1.

EDIT:  I found this in some of my old work for Microsoft WAV.  Is this correct for inputting raw PCM into opusenc?

Code: [Select]
// Microsoft Wave
array<string, max_channel_count> wav_mappings =
{{
"C",
"L, R",
"L, R, C",
"FL, FR, BL, BR",
"FL, FR, FC, SL, SR",
"FL, FR, FC, LFE, SL, SR",
"FL, FR, FC, LFE, BC, SL, SR",
"FL, FR, FC, LFE, SL, SR, BL, BR"
}};

Re: Correct Channel Ordering for Raw PCM

Reply #1
Normally it goes ...Back then Side.  Unless you mean S to be surround then okay.

(Mono I'd send to L and R if possible.)


 
SimplePortal 1.0.0 RC1 © 2008-2019