All pastes #591280 Raw Edit

gg

public text v1 · immutable
#591280 ·published 2007-06-27 03:07 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)#softvol control will control the volume of any/all programs using "default" as the device; not hw:0,0# change default device:# change slave.pcm "hw:0" to slave.pcm "dmix" to allow mixing;  edited:06-26-07	pcm.!default {		type softvol		slave.pcm "hw:0"		control {			name "Software Master"			card 0		}}