Skip to content

Instantly share code, notes, and snippets.

@applecargo
Created June 24, 2017 17:19
Show Gist options
  • Save applecargo/3acbdf4a3ff3cf24e6b07752bfcf7ad9 to your computer and use it in GitHub Desktop.
Save applecargo/3acbdf4a3ff3cf24e6b07752bfcf7ad9 to your computer and use it in GitHub Desktop.
asoundrc for mbp55 (resolving inconsistency of recording channel by swapping channels only for recording), an ALSA practice!
pcm.swapped {
type route
slave {
pcm "hw:0"
channels 2
}
ttable.0.1 1
ttable.1.1 1
}
pcm.asymed {
type asym
playback.pcm "hw:0"
capture.pcm "swapped"
}
pcm.!default {
type plug
slave.pcm "asymed"
}
ctl.!default {
type hw
card 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment