Skip to content

Instantly share code, notes, and snippets.

@fvdbosch
Created December 21, 2016 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fvdbosch/b08d5158f32a2a68ed5e71c9dde50b21 to your computer and use it in GitHub Desktop.
Save fvdbosch/b08d5158f32a2a68ed5e71c9dde50b21 to your computer and use it in GitHub Desktop.
pcm.dac {
type hw
card 0
}
pcm.both {
type route;
slave.pcm {
type multi;
slaves.a.pcm "plughw:0,0"
slaves.b.pcm "plughw:Loopback,1,0"
slaves.a.channels 2;
slaves.b.channels 2;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave b;
bindings.2.channel 0;
bindings.3.slave b;
bindings.3.channel 1;
}
ttable.0.0 1;
ttable.1.1 1;
ttable.0.2 1;
ttable.1.3 1;
}
pcm.!default {
type plug
slave.pcm "both"
}
ctl.!default {
type hw
card SB
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment