[qrb2210] Add media-config-target-qrb2210
[platform/hal/backend/media-config.git] / media-config-target-qrb2210 / hal / etc / pulse / default.pa
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software Foundation,
15 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 # This startup script is used only if PulseAudio is started per-user
18 # (i.e. not in system mode)
19
20 .nofail
21
22 ### Load something into the sample cache
23 #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
24 #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
25 #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
26 #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
27
28 .fail
29
30 ### Automatically restore the volume of streams and devices
31 load-module module-device-restore
32 load-module module-stream-restore
33 load-module module-card-restore
34
35 ### Automatically augment property information from .desktop files
36 ### stored in /usr/share/application
37 load-module module-augment-properties
38
39 ### Load audio drivers statically
40 ### (it's probably better to not load these drivers manually, but instead
41 ### use module-udev-detect -- see below -- for doing this automatically)
42 #load-module module-alsa-sink
43 #load-module module-alsa-source device=hw:1,0
44 #load-module module-null-sink
45 #load-module module-pipe-sink
46
47 ### Automatically load driver modules depending on the hardware available
48 .ifexists module-udev-detect.so
49 load-module module-udev-detect
50 .else
51 ### Use the static hardware detection module (for systems that lack udev support)
52 load-module module-detect
53 .endif
54
55 ### Automatically connect sink and source if JACK server is present
56 .ifexists module-jackdbus-detect.so
57 .nofail
58 load-module module-jackdbus-detect channels=2
59 .fail
60 .endif
61
62 ### Automatically load driver modules for Bluetooth hardware
63 .ifexists module-bluetooth-policy.so
64 load-module module-bluetooth-policy
65 .endif
66
67 .ifexists module-bluetooth-discover.so
68 load-module module-bluetooth-discover
69 .endif
70
71 ### Load several protocols
72 .ifexists module-esound-protocol-unix.so
73 load-module module-esound-protocol-unix
74 .endif
75 load-module module-native-protocol-unix
76
77 ### Network access (may be configured with paprefs, so leave this commented
78 ### here if you plan to use paprefs)
79 #load-module module-esound-protocol-tcp
80 #load-module module-native-protocol-tcp
81
82 ### Load the RTP receiver module (also configured via paprefs, see above)
83 #load-module module-rtp-recv
84
85 ### Load the RTP sender module (also configured via paprefs, see above)
86 #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
87 #load-module module-rtp-send source=rtp.monitor
88
89 ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
90 ### Please keep in mind that the modules configured by paprefs might conflict with manually
91 ### loaded modules.
92 .ifexists module-gconf.so
93 .nofail
94 load-module module-gconf
95 .fail
96 .endif
97
98 ### Automatically restore the default sink/source when changed by the user
99 ### during runtime
100 ### NOTE: This should be loaded as early as possible so that subsequent modules
101 ### that look up the default sink/source get the right value
102 load-module module-default-device-restore
103
104 ### Automatically move streams to the default sink if the sink they are
105 ### connected to dies, similar for sources
106 load-module module-rescue-streams
107
108 ### Make sure we always have a sink around, even if it is a null sink.
109 load-module module-always-sink
110
111 ### Honour intended role device property
112 load-module module-intended-roles
113
114 ### Automatically suspend sinks/sources that become idle for too long
115 load-module module-suspend-on-idle
116
117 ### If autoexit on idle is enabled we want to make sure we only quit
118 ### when no local session needs us anymore.
119 .ifexists module-console-kit.so
120 load-module module-console-kit
121 .endif
122 .ifexists module-systemd-login.so
123 load-module module-systemd-login
124 .endif
125
126 ### Enable positioned event sounds
127 load-module module-position-event-sounds
128
129 ### Cork music/video streams when a phone stream is active
130 load-module module-role-cork
131
132 ### Modules to allow autoloading of filters (such as echo cancellation)
133 ### on demand. module-filter-heuristics tries to determine what filters
134 ### make sense, and module-filter-apply does the heavy-lifting of
135 ### loading modules and rerouting streams.
136 load-module module-filter-heuristics
137 load-module module-filter-apply
138
139 ### Load DBus protocol
140 .ifexists module-dbus-protocol.so
141 load-module module-dbus-protocol
142 .endif
143
144
145 load-module module-switch-on-port-available
146
147 ### Make some devices default
148 #set-default-sink output
149 #set-default-source input