You are not logged in.

#1 2009-03-05 16:28:19

Nuz
Member
From: Latvia
Registered: 2008-11-29
Posts: 50

[SOLVED] Alsa 5.1 - wrong channels

Hello, I'm trying to set up 5.1 surround system. Everything seems to work fine, except the channels are mixed up, like center channel is rear left/right, and the rear left/right channel is center.
How can I switch them ? This is how the asound.conf looks like.

# move channel 0 to channel 2
pcm.move0to2 {
     type route
     slave.pcm 3to6
     slave.channels 3
     ttable.0.2 1
}
# 3to6 has 3 input and 6 output channels
# the stereo signal is on ch. 0 and 1
# ch.0 is copied to 0 and 2  (front and rear)
# ch.1 is copied to 1 and 3  (front and rear)
# ch.0 and ch.1 will is mixed to ch.4 (center)
# ch.2 is routed to ch.5 (subwoofer)
pcm.3to6 {
     type route
     slave.pcm "surround51"
     slave.channels 6
     ttable.0.0 1
     ttable.1.1 1
     ttable.0.2 1
     ttable.1.3 1
     ttable.0.4 0.5
     ttable.1.4 0.5
     ttable.2.5 1
}

Edit: How stupid of me, the cables we're plugged incorrectly.

Last edited by Nuz (2009-03-05 17:37:21)


Arch64 | some tiling wm

Offline

Board footer

Powered by FluxBB