[audio] system.pa: Adds module-tone-player
[platform/core/multimedia/mmfw-sysconf.git] / mmfw-sysconf-target-u3 / etc / pulse / system.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 in system
18 # mode.
19
20 ### Automatically load driver modules depending on the hardware available
21 ### Load several protocols
22 load-module module-native-protocol-unix auth-anonymous=1
23
24 ### Load module-tizenaudio-policy
25 load-module module-tizenaudio-policy
26
27 #.ifexists module-udev-detect.so
28 load-module module-udev-detect
29 #.endif
30
31 ### Sound Player module
32 load-module module-sound-player
33 load-module module-tone-player
34 load-module module-role-ducking global=1 trigger_roles=solo/notification,voice-information ducking_roles=media,system,alarm,notification,voice-information,ext-media/media,ext-media volume=0%/25% fade_in=0/1000 fade_out=0/1000
35
36 ### Automatically load driver modules for Bluetooth hardware
37 .ifexists module-bluetooth-policy.so
38 load-module module-bluetooth-policy
39 .endif
40
41 .ifexists module-bluetooth-discover.so
42 load-module module-bluetooth-discover
43 .endif
44
45 ### Automatically restore the volume of streams and devices
46 #load-module module-stream-restore
47 #load-module module-device-restore
48
49 ### Automatically restore the default sink/source when changed by the user
50 ### during runtime
51 ### NOTE: This should be loaded as early as possible so that subsequent modules
52 ### that look up the default sink/source get the right value
53 load-module module-default-device-restore
54
55 .ifexists module-dbus-protocol.so
56 ### If you want to allow TCP connections, set access to "remote" or "local,remote".
57 load-module module-dbus-protocol access=local
58 .endif
59
60 ### Automatically move streams to the default sink if the sink they are
61 ### connected to dies, similar for sources
62 #load-module module-rescue-streams
63
64 ### Make sure we always have a sink around, even if it is a null sink.
65 load-module module-always-sink
66
67 ### Automatically suspend sinks/sources that become idle for too long
68 load-module module-suspend-on-idle timeout=1
69
70 load-sample camera-shutter-01 /usr/share/sounds/mm-camcorder/capture_shutter_01.ogg
71 load-sample camera-shutter-02 /usr/share/sounds/mm-camcorder/capture_shutter_02.ogg
72 load-sample recording-start /usr/share/sounds/mm-camcorder/recording_start_01.ogg
73 load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg