Created
April 29, 2015 20:27
-
-
Save nkaretnikov/ae6e44277557c1908919 to your computer and use it in GitHub Desktop.
Mix left and right channels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Part of configuration.nix | |
# Mix left and right channels. | |
sound.extraConfig = | |
'' | |
pcm.!default { | |
type plug | |
slave.pcm { | |
type asym | |
playback.pcm { | |
type route | |
slave.pcm "dmix:0" | |
ttable.0.0 0.66 | |
ttable.0.1 0.33 | |
ttable.1.0 0.33 | |
ttable.1.1 0.66 | |
} | |
capture.pcm "hw:0" | |
} | |
} | |
''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment