Pipewireパッケージ(ちょっと変更)
Revisión | 15a283834f8977ef58d0001654c8ef20e0ef6ec3 (tree) |
---|---|
Tiempo | 2023-10-03 00:49:33 |
Autor | Wim Taymans <wtaymans@redh...> |
Commiter | Wim Taymans |
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.
@@ -4,8 +4,9 @@ | ||
4 | 4 | # ~/.config/pipewire/filter-chain.conf.d/ |
5 | 5 | # |
6 | 6 | context.modules = [ |
7 | - { name = libpipewire-module-filter-chain | |
8 | - args = { | |
7 | + { name = libpipewire-module-filter-chain | |
8 | + flags = [ nofail ] | |
9 | + args = { | |
9 | 10 | #audio.format = F32 |
10 | 11 | #audio.rate = 48000 |
11 | 12 | audio.channels = 2 |
@@ -5,6 +5,7 @@ | ||
5 | 5 | # |
6 | 6 | context.modules = [ |
7 | 7 | { name = libpipewire-module-filter-chain |
8 | + flags = [ nofail ] | |
8 | 9 | args = { |
9 | 10 | node.description = "Dolby Surround Sink" |
10 | 11 | media.name = "Dolby Surround Sink" |
@@ -8,6 +8,7 @@ | ||
8 | 8 | |
9 | 9 | context.modules = [ |
10 | 10 | { name = libpipewire-module-filter-chain |
11 | + flags = [ nofail ] | |
11 | 12 | args = { |
12 | 13 | node.description = "Matrix Spatialiser" |
13 | 14 | media.name = "Matrix Spatialiser" |
@@ -3,8 +3,11 @@ | ||
3 | 3 | # Copy this file into a conf.d/ directory such as |
4 | 4 | # ~/.config/pipewire/filter-chain.conf.d/ |
5 | 5 | # |
6 | +# Adjust the paths to the convolver files to match your system | |
7 | +# | |
6 | 8 | context.modules = [ |
7 | 9 | { name = libpipewire-module-filter-chain |
10 | + flags = [ nofail ] | |
8 | 11 | args = { |
9 | 12 | node.description = "Virtual Surround Sink" |
10 | 13 | media.name = "Virtual Surround Sink" |
@@ -3,8 +3,11 @@ | ||
3 | 3 | # Copy this file into a conf.d/ directory such as |
4 | 4 | # ~/.config/pipewire/filter-chain.conf.d/ |
5 | 5 | # |
6 | +# Adjust the paths to the convolver files to match your system | |
7 | +# | |
6 | 8 | context.modules = [ |
7 | 9 | { name = libpipewire-module-filter-chain |
10 | + flags = [ nofail ] | |
8 | 11 | args = { |
9 | 12 | node.description = "Virtual Surround Sink" |
10 | 13 | media.name = "Virtual Surround Sink" |
@@ -3,8 +3,11 @@ | ||
3 | 3 | # Copy this file into a conf.d/ directory such as |
4 | 4 | # ~/.config/pipewire/filter-chain.conf.d/ |
5 | 5 | # |
6 | +# Adjust the paths to the rnnoise plugin to match your system | |
7 | +# | |
6 | 8 | context.modules = [ |
7 | 9 | { name = libpipewire-module-filter-chain |
10 | + flags = [ nofail ] | |
8 | 11 | args = { |
9 | 12 | node.description = "Noise Canceling source" |
10 | 13 | media.name = "Noise Canceling source" |
@@ -13,7 +16,13 @@ context.modules = [ | ||
13 | 16 | { |
14 | 17 | type = ladspa |
15 | 18 | name = rnnoise |
16 | - plugin = librnnoise_ladspa | |
19 | + # The path to the plugin. The suffix .so is appended to | |
20 | + # this string and then the file is then located in the directories | |
21 | + # listed in the environment variable LADSPA_PATH or | |
22 | + # /usr/lib64/ladspa, /usr/lib/ladspa or the system library directory | |
23 | + # as a fallback. | |
24 | + # You might want to use an absolute path here to avoid problems. | |
25 | + plugin = "librnnoise_ladspa" | |
17 | 26 | label = noise_suppressor_stereo |
18 | 27 | control = { |
19 | 28 | "VAD Threshold (%)" 50.0 |
@@ -3,8 +3,11 @@ | ||
3 | 3 | # Copy this file into a conf.d/ directory such as |
4 | 4 | # ~/.config/pipewire/filter-chain.conf.d/ |
5 | 5 | # |
6 | +# Adjust the paths to the sofa file to match your system. | |
7 | +# | |
6 | 8 | context.modules = [ |
7 | 9 | { name = libpipewire-module-filter-chain |
10 | + flags = [ nofail ] | |
8 | 11 | args = { |
9 | 12 | node.description = "Spatial Sink" |
10 | 13 | media.name = "Spatial Sink" |
@@ -4,8 +4,11 @@ | ||
4 | 4 | # Copy this file into a conf.d/ directory such as |
5 | 5 | # ~/.config/pipewire/filter-chain.conf.d/ |
6 | 6 | # |
7 | +# Adjust the paths to the sofa files to match your system | |
8 | +# | |
7 | 9 | context.modules = [ |
8 | 10 | { name = libpipewire-module-filter-chain |
11 | + flags = [ nofail ] | |
9 | 12 | args = { |
10 | 13 | node.description = "3D Sink" |
11 | 14 | media.name = "3D Sink" |