Skip to content

Instantly share code, notes, and snippets.

@G10DRAS
Last active April 5, 2017 01:31
Show Gist options
  • Save G10DRAS/f3a8338802c83b9bd181969f8c9a7c42 to your computer and use it in GitHub Desktop.
Save G10DRAS/f3a8338802c83b9bd181969f8c9a7c42 to your computer and use it in GitHub Desktop.
Alsa Plugins
pcm.usb
{
type hw
card Device
}
pcm.!default
{
type asym
playback.pcm
{
type plug
slave.pcm "usb"
}
capture.pcm
{
type plug
slave.pcm "usb"
}
}
ctl.!default
{
type asym
playback.pcm
{
type plug
slave.pcm "usb"
}
capture.pcm
{
type plug
slave.pcm "usb"
}
}
pcm.dmixed {
type dmix
ipc_key 1024
ipc_key_add_uid 0
slave.pcm "hw:1,0"
}
pcm.dsnooped {
type dsnoop
ipc_key 1025
slave.pcm "hw:0,0"
}
pcm.duplex {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment