All pastes #298031 Raw Edit

Untitled

public text v1 · immutable
#298031 ·published 2006-12-31 14:25 UTC
rendered paste body
#########################################################
#This is the standard setting (see: "!default")
#This profile, the default loaded, upmixes stereo sound to 5.1.

pcm.softvol {
	type softvol
        slave.pcm "hw:0"
#	slave {
#		pcm "hw:0,1"
#	}
        control {
                name "Software Master"
                card 0
        }
}

pcm.!default {
        type plug
	slave.pcm "softvol"
#        slave.pcm "surround51"
        slave.channels 6
        route_policy duplicate
}
########################################################
#This is the normal spdif output profile (optical, toslink).

pcm.!spdif {
   type plug
   slave.pcm "softvol"
}

#######################################################
#This is what one could call the "factory default setting", in other words, it only plays the actual channels. so if you fx want to watch a 5.1 movie, on the analog output, this is the option you want. 


pcm.analog {
    type plug
    slave analog_slave;
}

pcm_slave.analog_slave {
        pcm surround51;
        format S32_LE;
}