Last active
March 17, 2024 09:20
-
-
Save bkram/2873f0780cb5fdc8960378daed23df84 to your computer and use it in GitHub Desktop.
Software volume for hifiberry, from https://support.hifiberry.com/hc/en-us/community/posts/201847441-DAC-Lite-Software-volume-control
This file contains 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
pcm.hifiberry { | |
type softvol | |
slave { | |
pcm { | |
type plug | |
slave { | |
pcm "hw:0" | |
format unchanged | |
channels unchanged | |
rate unchanged | |
} | |
} | |
} | |
control.name "Master" | |
control.card 0 | |
} | |
pcm.hifiberry { | |
type softvol | |
slave { | |
pcm { | |
type plug | |
slave { | |
pcm "hw:0" | |
format unchanged | |
channels unchanged | |
rate unchanged | |
} | |
} | |
} | |
control.name "Master" | |
control.card 0 | |
} | |
pcm.!default { | |
type plug | |
slave.pcm "hifiberry" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then use newly defined hifiberry output device:
speaker-test -D hifiberry -c 2
and see new 'Master' control in mixer: