OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/pulseaudio -nF |
| 2 |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 # |
| 7 # Based on /etc/pulse/default.pa in PulseAudio. |
| 8 |
| 9 # License from the file this was based off of. |
| 10 # |
| 11 # PulseAudio is free software; you can redistribute it and/or modify it |
| 12 # under the terms of the GNU Lesser General Public License as published by |
| 13 # the Free Software Foundation; either version 2 of the License, or |
| 14 # (at your option) any later version. |
| 15 # |
| 16 # PulseAudio is distributed in the hope that it will be useful, but |
| 17 # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 # General Public License for more details. |
| 20 # |
| 21 # You should have received a copy of the GNU Lesser General Public License |
| 22 # along with PulseAudio; if not, write to the Free Software Foundation, |
| 23 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
| 24 |
| 25 # This startup script is used only if PulseAudio is started per-user |
| 26 # (i.e. not in system mode) |
| 27 |
| 28 .fail |
| 29 |
| 30 ### Automatically restore the volume of streams and devices. |
| 31 ### Set the default volume and mute states for new devices. |
| 32 load-module module-device-restore default_sink_volume=45876 default_sink_muted=n
default_source_volume=65537 default_source_muted=y |
| 33 load-module module-stream-restore |
| 34 load-module module-card-restore |
| 35 |
| 36 ### Automatically augment property information from .desktop files |
| 37 ### stored in /usr/share/application |
| 38 load-module module-augment-properties |
| 39 |
| 40 ### Automatically load driver modules depending on the hardware available |
| 41 .ifexists module-udev-detect.so |
| 42 load-module module-udev-detect |
| 43 .endif |
| 44 |
| 45 ### Automatically load driver modules for Bluetooth hardware |
| 46 .ifexists module-bluetooth-discover.so |
| 47 load-module module-bluetooth-discover |
| 48 .endif |
| 49 |
| 50 ### We only care about native unix connections. |
| 51 load-module module-native-protocol-unix |
| 52 |
| 53 ### Automatically restore the default sink/source when changed by the user durin
g runtime |
| 54 load-module module-default-device-restore |
| 55 |
| 56 ### Automatically move streams to the default sink if the sink they are |
| 57 ### connected to dies, similar for sources |
| 58 load-module module-rescue-streams |
| 59 |
| 60 ### Make sure we always have a sink around, even if it is a null sink. |
| 61 load-module module-always-sink |
| 62 |
| 63 ### Honour intended role device property |
| 64 load-module module-intended-roles |
| 65 |
| 66 ### Automatically suspend sinks/sources that become idle for too long |
| 67 load-module module-suspend-on-idle |
| 68 |
| 69 ### If autoexit on idle is enabled we want to make sure we only quit |
| 70 ### when no local session needs us anymore. |
| 71 load-module module-console-kit |
| 72 |
| 73 ### Enable positioned event sounds |
| 74 load-module module-position-event-sounds |
| 75 |
| 76 ### Cork music streams when a phone stream is active |
| 77 # TODO(ajwong): What does this do? Do we need it? |
| 78 load-module module-cork-music-on-phone |
OLD | NEW |