mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-11 23:59:13 +02:00
The new revision installs a sample PipeWire configuration file. Additionally, we're getting rid of the "ladspa" USE flag, to make sure the configuration always works. This shouldn't be a problem as the ladspa plugin is not that heavy compared to all the other ones. This also lets us clean up REQUIRED_USE. Closes: https://bugs.gentoo.org/936789 Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
33 lines
975 B
Text
33 lines
975 B
Text
context.modules = [
|
|
{ name = libpipewire-module-filter-chain
|
|
args = {
|
|
node.description = "Noise Canceling source"
|
|
media.name = "Noise Canceling source"
|
|
filter.graph = {
|
|
nodes = [
|
|
{
|
|
type = ladspa
|
|
name = rnnoise
|
|
plugin = %PATH_TO_LADSPA_PLUGIN%
|
|
label = noise_suppressor_mono
|
|
control = {
|
|
"VAD Threshold (%)" = 50.0
|
|
"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"
|
|
media.class = Audio/Source
|
|
audio.rate = 48000
|
|
}
|
|
}
|
|
}
|
|
]
|