mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
filter-chain: add nofail flags
Add nofail flags to some filter-chain examples to avoid aborting on startup and leaving the system in a silent state. Add some more comments to guide people to change the paths to the filters and config files where needed.
This commit is contained in:
parent
eca4822311
commit
15a283834f
8 changed files with 27 additions and 3 deletions
|
|
@ -4,8 +4,9 @@
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
args = {
|
flags = [ nofail ]
|
||||||
|
args = {
|
||||||
#audio.format = F32
|
#audio.format = F32
|
||||||
#audio.rate = 48000
|
#audio.rate = 48000
|
||||||
audio.channels = 2
|
audio.channels = 2
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
#
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Dolby Surround Sink"
|
node.description = "Dolby Surround Sink"
|
||||||
media.name = "Dolby Surround Sink"
|
media.name = "Dolby Surround Sink"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Matrix Spatialiser"
|
node.description = "Matrix Spatialiser"
|
||||||
media.name = "Matrix Spatialiser"
|
media.name = "Matrix Spatialiser"
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
# Copy this file into a conf.d/ directory such as
|
# Copy this file into a conf.d/ directory such as
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
|
# Adjust the paths to the convolver files to match your system
|
||||||
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Virtual Surround Sink"
|
node.description = "Virtual Surround Sink"
|
||||||
media.name = "Virtual Surround Sink"
|
media.name = "Virtual Surround Sink"
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
# Copy this file into a conf.d/ directory such as
|
# Copy this file into a conf.d/ directory such as
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
|
# Adjust the paths to the convolver files to match your system
|
||||||
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Virtual Surround Sink"
|
node.description = "Virtual Surround Sink"
|
||||||
media.name = "Virtual Surround Sink"
|
media.name = "Virtual Surround Sink"
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
# Copy this file into a conf.d/ directory such as
|
# Copy this file into a conf.d/ directory such as
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
|
# Adjust the paths to the rnnoise plugin to match your system
|
||||||
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Noise Canceling source"
|
node.description = "Noise Canceling source"
|
||||||
media.name = "Noise Canceling source"
|
media.name = "Noise Canceling source"
|
||||||
|
|
@ -13,7 +16,13 @@ context.modules = [
|
||||||
{
|
{
|
||||||
type = ladspa
|
type = ladspa
|
||||||
name = rnnoise
|
name = rnnoise
|
||||||
plugin = librnnoise_ladspa
|
# The path to the plugin. The suffix .so is appended to
|
||||||
|
# this string and then the file is then located in the directories
|
||||||
|
# listed in the environment variable LADSPA_PATH or
|
||||||
|
# /usr/lib64/ladspa, /usr/lib/ladspa or the system library directory
|
||||||
|
# as a fallback.
|
||||||
|
# You might want to use an absolute path here to avoid problems.
|
||||||
|
plugin = "librnnoise_ladspa"
|
||||||
label = noise_suppressor_stereo
|
label = noise_suppressor_stereo
|
||||||
control = {
|
control = {
|
||||||
"VAD Threshold (%)" 50.0
|
"VAD Threshold (%)" 50.0
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,11 @@
|
||||||
# Copy this file into a conf.d/ directory such as
|
# Copy this file into a conf.d/ directory such as
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
|
# Adjust the paths to the sofa file to match your system.
|
||||||
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "Spatial Sink"
|
node.description = "Spatial Sink"
|
||||||
media.name = "Spatial Sink"
|
media.name = "Spatial Sink"
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,11 @@
|
||||||
# Copy this file into a conf.d/ directory such as
|
# Copy this file into a conf.d/ directory such as
|
||||||
# ~/.config/pipewire/filter-chain.conf.d/
|
# ~/.config/pipewire/filter-chain.conf.d/
|
||||||
#
|
#
|
||||||
|
# Adjust the paths to the sofa files to match your system
|
||||||
|
#
|
||||||
context.modules = [
|
context.modules = [
|
||||||
{ name = libpipewire-module-filter-chain
|
{ name = libpipewire-module-filter-chain
|
||||||
|
flags = [ nofail ]
|
||||||
args = {
|
args = {
|
||||||
node.description = "3D Sink"
|
node.description = "3D Sink"
|
||||||
media.name = "3D Sink"
|
media.name = "3D Sink"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue