You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
537 B
20 lines
537 B
pcm.!default { |
|
type plug # <-- no { here |
|
slave.pcm { |
|
type multi |
|
slaves { |
|
a { channels 2 pcm "hw:0,0" } # the real device |
|
b { channels 2 pcm "hw:1,0" } # the loopback driver |
|
} |
|
bindings { |
|
0 { slave a channel 0 } |
|
1 { slave a channel 1 } |
|
2 { slave b channel 0 } |
|
3 { slave b channel 1 } |
|
} |
|
} |
|
ttable [ |
|
[ 1 0 1 0 ] # left -> a.left, b.left |
|
[ 0 1 0 1 ] # right -> a.right, b.right |
|
] |
|
} |