3 # This file is part of PulseAudio.
5 # PulseAudio is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # PulseAudio is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with PulseAudio; if not, write to the Free Software Foundation,
17 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 ### Load something into the sample cache
22 #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
23 load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
24 #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
25 #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
29 ### Load audio drivers statically (it's probably better to not load
30 ### these drivers manually, but instead use module-hal-detect --
31 ### see below -- for doing this automatically)
32 #load-module module-alsa-sink
33 #load-module module-alsa-source device=hw:1,0
34 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
35 #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
36 #load-module module-null-sink
37 #load-module module-pipe-sink
39 ### Automatically load driver modules depending on the hardware available
40 .ifexists module-hal-detect@PA_SOEXT@
41 load-module module-hal-detect
43 ### Alternatively use the static hardware detection module (for systems that
45 load-module module-detect
48 ### Load several protocols
49 .ifexists module-esound-protocol-unix@PA_SOEXT@
50 load-module module-esound-protocol-unix
52 load-module module-native-protocol-unix
54 ### Network access (may be configured with paprefs, so leave this commented
55 ### here if you plan to use paprefs)
56 #load-module module-esound-protocol-tcp
57 #load-module module-native-protocol-tcp
58 #load-module module-zeroconf-publish
60 ### Load the RTP reciever module (also configured via paprefs, see above)
61 #load-module module-rtp-recv
63 ### Load the RTP sender module (also configured via paprefs, see above)
64 #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
65 #load-module module-rtp-send source=rtp.monitor
67 ### Automatically restore the volume of playback streams
68 load-module module-volume-restore
70 ### Automatically restore the default sink/source when changed by the user during runtime
71 load-module module-default-device-restore
73 ### Automatically move streams to the default sink if the sink they are
74 ### connected to dies, similar for sources
75 load-module module-rescue-streams
77 ### Automatically suspend sinks/sources that become idle for too long
78 load-module module-suspend-on-idle
80 ### Load X11 bell module
81 #load-module module-x11-bell sample=x11-bell
83 ### Register ourselves in the X11 session manager
84 # Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session
85 # Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now
86 # load-module module-x11-xsmp
88 ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
89 ### Please keep in mind that the modules configured by paprefs might conflict with manually
91 .ifexists module-gconf@PA_SOEXT@
93 load-module module-gconf
97 ### Publish connection data in the X11 root window
98 .ifexists module-x11-publish@PA_SOEXT@
100 load-module module-x11-publish
104 ### Make some devices default
105 #set-default-sink output
106 #set-default-source input