Ticket #133: default.pa

File default.pa, 3.5 kB (added by izm, 4 years ago)

/etc/pulse/default.pa (can't recall if I modified this...)

Line 
1#!/usr/bin/pulseaudio -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.ifexists /usr/lib/pulse-0.9/modules/module-hal-detect.so
30
31### Automatically load driver modules depending on the hardware available
32load-module module-hal-detect
33
34.else
35
36### Alternatively use the static hardware detection module (for systems that
37### lack HAL support
38load-module module-detect
39
40.endif
41
42### Load audio drivers automatically on access
43#add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
44#add-autoload-source input module-oss device="/dev/dsp" sink_name=output source_name=input
45#add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
46#add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
47#add-autoload-sink output module-alsa-sink sink_name=output
48#add-autoload-source input module-alsa-source source_name=input
49
50.ifexists /usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so
51
52### Load esound protocol
53load-module module-esound-protocol-unix
54
55.endif
56
57### Load native protocol
58load-module module-native-protocol-unix
59
60### Network access (may be configured with paprefs, so leave this commented
61### here if you plan to use paprefs)
62#load-module module-esound-protocol-tcp
63#load-module module-native-protocol-tcp
64#load-module module-zeroconf-publish
65
66### Load the RTP reciever module (also configured via paprefs, see above)
67#load-module module-rtp-recv
68
69### Load the RTP sender module (also configured via paprefs, see above)
70#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
71#load-module module-rtp-send source=rtp.monitor
72
73### Automatically restore the volume of playback streams
74load-module module-volume-restore
75
76### Automatically move streams to the default sink if the sink they are
77### connected to dies, similar for sources
78load-module module-rescue-streams
79
80### Make some devices default
81#set-default-sink output
82#set-default-source input
83
84.nofail
85
86### Load something to the sample cache
87load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
88#load-sample-dir-lazy /usr/share/sounds/*.wav
89
90### Load X11 bell module
91load-module module-x11-bell sample=x11-bell
92
93### Publish connection data in the X11 root window
94load-module module-x11-publish
95
96### Load additional modules from GConf settings. This can be configured with the paprefs tool.
97### Please keep in mind that the modules configured by paprefs might conflict with manually
98### loaded modules.
99load-module module-gconf