Where is the source code for the audio routing/mixing?

linux_musician

New Member
Hello everyone, I'm currently struggling with routing my audio input channels to the proper output channels.
My audio source has 6 channels and when I press record, I end up with a file that has 4 empty channels and two channels containing 3 of the inputs mixed together each.

So what I get is this:
Code:
[Input Channel 1]───┬─────[Output Channel 1]
[Input Channel 3]───┤ ┌───[Output Channel 2]
[Input Channel 5]───┘ │   [Output Channel 3]
[Input Channel 2]─────┤   [Output Channel 4]
[Input Channel 4]─────┤   [Output Channel 5]
[Input Channel 6]─────┘   [Output Channel 6]

But what I actually want is this:
Code:
[Input Channel 1]─────────[Output Channel 1]
[Input Channel 2]─────────[Output Channel 2]
[Input Channel 3]─────────[Output Channel 3]
[Input Channel 4]─────────[Output Channel 4]
[Input Channel 5]─────────[Output Channel 5]
[Input Channel 6]─────────[Output Channel 6]

Can anyone point me to the relevant places in the source code?
 

mixman

New Member
Hello, I'm currently struggling with routing my Media source .TS files - audio input channels.
My audio source has 4 stereo channels.

Audio 1: English Commentary Mix - Stereo (Left)
English Commentary Mix - Stereo (Right)
Audio 2: Stereo Mix Minus Commentary (Left)
Stereo Mix Minus Commentary (Right)
Audio 3: Producer Talkback - Stereo (Left)
Clean English Commentary (Right)
Audio 4: Clean Effects - Stereo (Left)
Clean Effects - Stereo (Right)

and I can hear / stream / record always Audio 1 stereo track. Sometimes OBS chose from other .TS file 2nd audio track. (Depends of configuration audio pids in .ts file).

Is it posible to choose between tracks?
 
Top