801283d9f9
[richard: add native pulseaudio check; update APKBUILD; use tabs] [ci:skip-build]: already built successfully in CI
26 lines
635 B
Text
26 lines
635 B
Text
monitor.alsa.rules = [
|
|
{
|
|
matches = [
|
|
{
|
|
# Matches all sources
|
|
node.name = "~alsa_input.*"
|
|
},
|
|
{
|
|
# Matches all sinks
|
|
node.name = "~alsa_output.*"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
audio.format = "S16LE"
|
|
audio.rate = 48000
|
|
api.alsa.period-size = 4096
|
|
api.alsa.period-num = 6
|
|
api.alsa.headroom = 512,
|
|
# session.suspend-timeout-seconds = 0
|
|
# dither.method = "wannamaker3", # add dither of desired shape
|
|
# dither.noise = 2, # add additional bits of noise
|
|
}
|
|
}
|
|
}
|
|
]
|