All pastes #386929 Raw Edit

softvol

public text v1 · immutable
·published 2007-03-08 23:45 UTC
rendered paste body
#http://bulletproof.servebeer.com/alsa/files/softvol   created by wishie
#this .asoundrc will will create a slider called "Software Master" that will control all playback volume
#you can name "Software Master" anything that isnt already in use
#save this file as ~/.asoundrc (per user setting) or /etc/asound.conf (system-wide setting)
#then play something using the 'default' pcm (speaker-test -c2 -Ddefault -twav , for example)
#then, when you run alsamixer, the slider should then be there.. on the far right.
#if its not, try rebooting (sometimes this is needed, and i havent figured out why yet)
# change default device:
	pcm.!default {
		type softvol
		slave.pcm "hw:0"
		control {
			name "Software Master"
			card 0
		}
}