From: Lennart Poettering Date: Thu, 9 Aug 2007 21:31:58 +0000 (+0000) Subject: update default configuration X-Git-Tag: v0.9.11~63^2~1^2~363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02bf2f2dd2c443f3994ca1d0e6c5774b38f05c3c;p=platform%2Fupstream%2Fpulseaudio.git update default configuration git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1605 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index af2a678..47d3e79 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -1,5 +1,4 @@ -#!@PA_BINARY@ -nF - +#!@PA_BINARY@ -nF # # This file is part of PulseAudio. # @@ -17,8 +16,19 @@ # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +.nofail + +### Load something into the sample cache +load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav +load-sample-lazy pulse-hotplug /usr/share/sounds/email.wav +load-sample-lazy pulse-coldplug /usr/share/sounds/login.wav +load-sample-lazy pulse-access /usr/share/sounds/generic.wav + +.fail -### Load audio drivers statically +### Load audio drivers statically (it's probably better to not load +### these drivers manually, but instead use module-hal-detect -- +### see below -- for doing this automatically) #load-module module-alsa-sink #load-module module-alsa-source device=hw:1,0 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input @@ -30,17 +40,9 @@ @HAVE_HAL_TRUE@load-module module-hal-detect ### Alternatively use the static hardware detection module (for systems that -### lack HAL support +### lack HAL support) @HAVE_HAL_FALSE@load-module module-detect -### Load audio drivers automatically on access -#add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input -#add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input -#add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input -#add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input -#add-autoload-sink output module-alsa-sink sink_name=output -#add-autoload-source input module-alsa-source source_name=input - ### Load several protocols load-module module-esound-protocol-unix load-module module-native-protocol-unix @@ -65,15 +67,8 @@ load-module module-volume-restore ### connected to dies, similar for sources load-module module-rescue-streams -### Make some devices default -#set-default-sink output -#set-default-source input - -.nofail - -### Load something to the sample cache -load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav -#load-sample-dir-lazy /usr/share/sounds/*.wav +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle ### Load X11 bell module load-module module-x11-bell sample=x11-bell @@ -85,3 +80,7 @@ load-module module-x11-publish ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. load-module module-gconf + +### Make some devices default +#set-default-sink output +#set-default-source input