[Desktop] fix audio rate for denoising plugin, add new parameters

This commit is contained in:
Antoine Viallon 2026-01-07 12:05:38 +01:00
parent ec4198ba16
commit 07ed5e3269
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -42,18 +42,23 @@ context.modules = [
plugin = ${rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so
label = noise_suppressor_stereo
control = {
"VAD Threshold (%)" ${toString noiseFilterStrength}
"VAD Threshold (%)" = ${toString noiseFilterStrength}
"VAD Grace Period (ms)" = 200
"Retroactive VAD Grace (ms)" = 0
}
}
]
}
capture.props = {
node.name = "capture.rnnoise_source"
node.passive = true
audio.rate = 48000
}
playback.props = {
node.name = "rnnoise_source.output"
media.class = Audio/Source
node.virtual = false
audio.rate = 48000
}
}
}