1#!/usr/bin/pulseaudio -nF 2# 3# This file is part of PulseAudio. 4# 5# PulseAudio is free software; you can redistribute it and/or modify it 6# under the terms of the GNU Lesser General Public License as published by 7# the Free Software Foundation; either version 2 of the License, or 8# (at your option) any later version. 9# 10# PulseAudio is distributed in the hope that it will be useful, but 11# WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13# General Public License for more details. 14# 15# You should have received a copy of the GNU Lesser General Public License 16# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 17 18# This startup script is used only if PulseAudio is started per-user 19# (i.e. not in system mode) 20 21.fail 22 23# Load mandatory modules 24load-module libmodule-native-protocol-unix.z.so auth-cookie=/data/data/.pulse_dir/state/cookie socket=/dev/unix/socket/native 25 26# the module for command line operation like pacmd 27# load-module libmodule-cli-protocol-unix.z.so 28 29### Load audio drivers statically 30### (it's probably better to not load these drivers manually, but instead 31### use module-udev-detect -- see below -- for doing this automatically) 32load-module libmodule-suspend-on-idle.z.so timeout=3 33 34### Make some devices default 35#set-default-sink output 36#set-default-source input 37