#!/usr/bin/pulseaudio -nF .nofail load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav .fail # We comment out all this stuff because we have two sound cards and we want # to use the speakers on one and the microphone on the other. # .ifexists module-hal-detect.so # load-module module-hal-detect # .else # load-module module-detect # .endif # This is how we might combine both outputs # load-module module-alsa-sink device=hw:0,0 rate=48000 sink_name=output1 # load-module module-alsa-sink device=hw:1,0 rate=48000 sink_name=output2 # load-module module-combine master=output1 slaves=output2 sink_name=combined # Kernel always detects the sound cards in wrong order and if you try to work around # it will load them again in a different order to confuse you. Thus we have to # referenced the sound cards using their hardware device names. # The device names were taken from the output of cat /proc/asound/cards #~ $ cat /proc/asound/cards #~ 0 [V8237 ]: VIA8237 - VIA 8237 #~ VIA 8237 with ALC655 at 0xc400, irq 11 #~ 1 [Live ]: EMU10K1 - SBLive! Value [CT4871] #~ SBLive! Value [CT4871] (rev.7, serial:blah) at 0x9000, irq 11 load-module module-alsa-sink device=hw:V8237 rate=48000 sink_name=myDigitalSpeakers load-module module-alsa-source device=plughw:Live,2 rate=48000 source_name=mySBLivemic set-default-source mySBLivemic set-default-sink myDigitalSpeakers # end configuration changes .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix load-module module-volume-restore load-module module-default-device-restore load-module module-rescue-streams load-module module-suspend-on-idle .ifexists module-gconf.so .nofail load-module module-gconf .fail .endif .ifexists module-x11-publish.so .nofail load-module module-x11-publish .fail .endif