]> code.delx.au - pulseaudio/blob - src/daemon/default.pa.in
Load module-rescue-streams by default
[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=plughw: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 load-module module-detect
31
32 ### Load audio drivers automatically on access
33 #add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
34 #add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
35 #add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
36 #add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
37 #add-autoload-sink output module-alsa-sink sink_name=output
38 #add-autoload-source input module-alsa-source source_name=input
39
40 ### Load several protocols
41 load-module module-esound-protocol-unix
42 load-module module-native-protocol-unix
43
44 #load-module module-esound-protocol-tcp
45 #load-module module-native-protocol-tcp
46 #load-module module-zeroconf-publish
47
48 ### Load the RTP reciever module
49 #load-module module-rtp-recv
50
51 ### Load the RTP sender module
52 #load-module module-null-sink sink_name=rtp
53 #load-module module-rtp-send source=rtp_monitor
54
55 ### Automatically restore the volume of playback streams
56 load-module module-volume-restore
57
58 ### Automatically move streams to the default sink if the sink they are connected to dies
59 load-module module-rescue-streams
60
61 ### Make some devices default
62 #set-default-sink output
63 #set-default-source input
64
65 .nofail
66
67 ### Load something to the sample cache
68 load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
69 #load-sample-dir-lazy /usr/share/sounds/*.wav
70
71 ### Load X11 bell module
72 load-module module-x11-bell sample=x11-bell
73
74 ### Publish connection data in the X11 root window
75 load-module module-x11-publish
76
77 ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
78 ### Please keep in mind that the modules configured by paprefs might conflict with manually
79 ### loaded modules.
80 load-module module-gconf