diff options
Diffstat (limited to 'example_files/etc/asound.conf')
-rw-r--r-- | example_files/etc/asound.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/example_files/etc/asound.conf b/example_files/etc/asound.conf new file mode 100644 index 0000000..601d676 --- /dev/null +++ b/example_files/etc/asound.conf @@ -0,0 +1,20 @@ +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:Loopback,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 + ] +} |