ansible/pis/pulseaudio.cfg

56 lines
1.8 KiB
INI
Raw Normal View History

#!/usr/bin/pulseaudio -nF
#
### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
### Disabled: Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect tsched=0
#.else
### Use the static hardware detection module (for systems that lack udev/hal support)
#load-module module-detect
#.endif
# this is used instead
load-module module-alsa-card device_id=0
# Parameters to try
# tsched=true tsched_buffer_size=1048576 tsched_buffer_watermark=262144
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
# here I added anonymous logins from local system
load-module module-native-protocol-unix auth-anonymous=1
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle
### Enable positioned event sounds
load-module module-position-event-sounds
# enable network streaming from IPs 192.168.178.x
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.178.0/24 auth-anonymous=1
# ### Automatically load driver modules for Bluetooth hardware
load-module module-bluetooth-policy
load-module module-bluetooth-discover