• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


Commit MetaInfo

Révision15a283834f8977ef58d0001654c8ef20e0ef6ec3 (tree)
l'heure2023-10-03 00:49:33
AuteurWim Taymans <wtaymans@redh...>
CommiterWim Taymans

Message de Log

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.

Change Summary

Modification

--- a/src/daemon/filter-chain/demonic.conf
+++ b/src/daemon/filter-chain/demonic.conf
@@ -4,8 +4,9 @@
44 # ~/.config/pipewire/filter-chain.conf.d/
55 #
66 context.modules = [
7- { name = libpipewire-module-filter-chain
8- args = {
7+ { name = libpipewire-module-filter-chain
8+ flags = [ nofail ]
9+ args = {
910 #audio.format = F32
1011 #audio.rate = 48000
1112 audio.channels = 2
--- a/src/daemon/filter-chain/sink-dolby-surround.conf
+++ b/src/daemon/filter-chain/sink-dolby-surround.conf
@@ -5,6 +5,7 @@
55 #
66 context.modules = [
77 { name = libpipewire-module-filter-chain
8+ flags = [ nofail ]
89 args = {
910 node.description = "Dolby Surround Sink"
1011 media.name = "Dolby Surround Sink"
--- a/src/daemon/filter-chain/sink-matrix-spatialiser.conf
+++ b/src/daemon/filter-chain/sink-matrix-spatialiser.conf
@@ -8,6 +8,7 @@
88
99 context.modules = [
1010 { name = libpipewire-module-filter-chain
11+ flags = [ nofail ]
1112 args = {
1213 node.description = "Matrix Spatialiser"
1314 media.name = "Matrix Spatialiser"
--- a/src/daemon/filter-chain/sink-virtual-surround-5.1-kemar.conf
+++ b/src/daemon/filter-chain/sink-virtual-surround-5.1-kemar.conf
@@ -3,8 +3,11 @@
33 # Copy this file into a conf.d/ directory such as
44 # ~/.config/pipewire/filter-chain.conf.d/
55 #
6+# Adjust the paths to the convolver files to match your system
7+#
68 context.modules = [
79 { name = libpipewire-module-filter-chain
10+ flags = [ nofail ]
811 args = {
912 node.description = "Virtual Surround Sink"
1013 media.name = "Virtual Surround Sink"
--- a/src/daemon/filter-chain/sink-virtual-surround-7.1-hesuvi.conf
+++ b/src/daemon/filter-chain/sink-virtual-surround-7.1-hesuvi.conf
@@ -3,8 +3,11 @@
33 # Copy this file into a conf.d/ directory such as
44 # ~/.config/pipewire/filter-chain.conf.d/
55 #
6+# Adjust the paths to the convolver files to match your system
7+#
68 context.modules = [
79 { name = libpipewire-module-filter-chain
10+ flags = [ nofail ]
811 args = {
912 node.description = "Virtual Surround Sink"
1013 media.name = "Virtual Surround Sink"
--- a/src/daemon/filter-chain/source-rnnoise.conf
+++ b/src/daemon/filter-chain/source-rnnoise.conf
@@ -3,8 +3,11 @@
33 # Copy this file into a conf.d/ directory such as
44 # ~/.config/pipewire/filter-chain.conf.d/
55 #
6+# Adjust the paths to the rnnoise plugin to match your system
7+#
68 context.modules = [
79 { name = libpipewire-module-filter-chain
10+ flags = [ nofail ]
811 args = {
912 node.description = "Noise Canceling source"
1013 media.name = "Noise Canceling source"
@@ -13,7 +16,13 @@ context.modules = [
1316 {
1417 type = ladspa
1518 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"
1726 label = noise_suppressor_stereo
1827 control = {
1928 "VAD Threshold (%)" 50.0
--- a/src/daemon/filter-chain/spatializer-7.1.conf
+++ b/src/daemon/filter-chain/spatializer-7.1.conf
@@ -3,8 +3,11 @@
33 # Copy this file into a conf.d/ directory such as
44 # ~/.config/pipewire/filter-chain.conf.d/
55 #
6+# Adjust the paths to the sofa file to match your system.
7+#
68 context.modules = [
79 { name = libpipewire-module-filter-chain
10+ flags = [ nofail ]
811 args = {
912 node.description = "Spatial Sink"
1013 media.name = "Spatial Sink"
--- a/src/daemon/filter-chain/spatializer-single.conf
+++ b/src/daemon/filter-chain/spatializer-single.conf
@@ -4,8 +4,11 @@
44 # Copy this file into a conf.d/ directory such as
55 # ~/.config/pipewire/filter-chain.conf.d/
66 #
7+# Adjust the paths to the sofa files to match your system
8+#
79 context.modules = [
810 { name = libpipewire-module-filter-chain
11+ flags = [ nofail ]
912 args = {
1013 node.description = "3D Sink"
1114 media.name = "3D Sink"