]> code.delx.au - pulseaudio/blob - src/daemon/default.pa.in
af2a67893e88c84a8c19b700226dd8478334e1df
[pulseaudio] / src / daemon / default.pa.in
1 #!@PA_BINARY@ -nF
2
3 #
4 # This file is part of PulseAudio.
5 #
6 # PulseAudio is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # PulseAudio is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public License
17 # along with PulseAudio; if not, write to the Free Software Foundation,
18 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19
20
21 ### Load audio drivers statically
22 #load-module module-alsa-sink
23 #load-module module-alsa-source device=hw:1,0
24 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
25 #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
26 #load-module module-null-sink
27 #load-module module-pipe-sink
28
29 ### Automatically load driver modules depending on the hardware available
30 @HAVE_HAL_TRUE@load-module module-hal-detect
31
32 ### Alternatively use the static hardware detection module (for systems that
33 ### lack HAL support
34 @HAVE_HAL_FALSE@load-module module-detect
35
36 ### Load audio drivers automatically on access
37 #add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
38 #add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
39 #add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
40 #add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
41 #add-autoload-sink output module-alsa-sink sink_name=output
42 #add-autoload-source input module-alsa-source source_name=input
43
44 ### Load several protocols
45 load-module module-esound-protocol-unix
46 load-module module-native-protocol-unix
47
48 ### Network access (may be configured with paprefs, so leave this commented
49 ### here if you plan to use paprefs)
50 #load-module module-esound-protocol-tcp
51 #load-module module-native-protocol-tcp
52 #load-module module-zeroconf-publish
53
54 ### Load the RTP reciever module (also configured via paprefs, see above)
55 #load-module module-rtp-recv
56
57 ### Load the RTP sender module (also configured via paprefs, see above)
58 #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
59 #load-module module-rtp-send source=rtp.monitor
60
61 ### Automatically restore the volume of playback streams
62 load-module module-volume-restore
63
64 ### Automatically move streams to the default sink if the sink they are
65 ### connected to dies, similar for sources
66 load-module module-rescue-streams
67
68 ### Make some devices default
69 #set-default-sink output
70 #set-default-source input
71
72 .nofail
73
74 ### Load something to the sample cache
75 load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
76 #load-sample-dir-lazy /usr/share/sounds/*.wav
77
78 ### Load X11 bell module
79 load-module module-x11-bell sample=x11-bell
80
81 ### Publish connection data in the X11 root window
82 load-module module-x11-publish
83
84 ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
85 ### Please keep in mind that the modules configured by paprefs might conflict with manually
86 ### loaded modules.
87 load-module module-gconf