38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
.nofail
|
|
# Set tsched=0 here if you experience glitchy playback. This will
|
|
# revert back to interrupt-based scheduling and should fix it.
|
|
#
|
|
# Replace the device= part if you want pulse to use a specific device
|
|
# such as "dmix" and "dsnoop" so it doesn't lock an hw: device.
|
|
# use aplay -l to find your device
|
|
# test with: speaker-test -D plughw:PCH -l 3 -t sine -c 1
|
|
|
|
# INPUT/RECORD
|
|
# load-module module-alsa-source device="default" tsched=1
|
|
load-module module-alsa-source device="plughw:PCH" tsched=1
|
|
|
|
# OUTPUT/PLAYBACK
|
|
# load-module module-alsa-sink device="default" tsched=1
|
|
load-module module-alsa-sink device="plughw:PCH" tsched=1
|
|
|
|
# TODO: the below block has not been fully testsd yet (in this Docker container)
|
|
### Automatically load driver modules depending on the hardware available
|
|
#.ifexists module-udev-detect.so
|
|
#load-module module-udev-detect
|
|
#.else
|
|
### Use the static hardware detection module (for systems that lack udev support)
|
|
#load-module module-detect
|
|
#.endif
|
|
|
|
# Accept clients -- very important!
|
|
load-module module-native-protocol-unix
|
|
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.0/8;172.0.0.0/8 auth-anonymous=1
|
|
|
|
.ifexists module-x11-publish.so
|
|
# Publish to X11 so the clients know how to connect to Pulse.
|
|
# Will clear itself on unload.
|
|
load-module module-x11-publish
|
|
.endif
|
|
|
|
.fail
|