From f9dd379ace1d1ee488ba20b2faa683791706b5d9 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 8 Dec 2023 10:50:07 -0800 Subject: [PATCH] chore: Update Jack names in steamdeck-dsp --- spec_files/steamdeck-dsp/fedora.patch | 30 +++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/spec_files/steamdeck-dsp/fedora.patch b/spec_files/steamdeck-dsp/fedora.patch index 352135dd..eab83703 100644 --- a/spec_files/steamdeck-dsp/fedora.patch +++ b/spec_files/steamdeck-dsp/fedora.patch @@ -1,6 +1,8 @@ +diff --git a/pipewire-confs/filter-chain-mic.conf b/pipewire-confs/filter-chain-mic.conf +index 0b9fcac..0859402 100644 --- a/pipewire-confs/filter-chain-mic.conf +++ b/pipewire-confs/filter-chain-mic.conf -@@ -14,7 +14,7 @@ +@@ -14,7 +14,7 @@ context.modules = [ { type = ladspa name = rnnoise @@ -9,9 +11,11 @@ label = noise_suppressor_stereo control = { "VAD Threshold (%)" = 23.0 +diff --git a/scripts/install_plugins.sh b/scripts/install_plugins.sh +index 591514a..6678045 100755 --- a/scripts/install_plugins.sh +++ b/scripts/install_plugins.sh -@@ -5,9 +5,9 @@ +@@ -5,9 +5,9 @@ if [ -e $HARDCODED_PLUGIN_DEST_1 ]; then rm -r $HARDCODED_PLUGIN_DEST_1; fi; if [ -e $HARDCODED_PLUGIN_DEST_2 ]; then rm -r $HARDCODED_PLUGIN_DEST_2; fi; @@ -27,3 +31,25 @@ +cp -r bin/lv2/g++/valve_deck_microphone.lv2 $LIB_DIR/lv2/valve_deck_microphone.dsp +cp -r bin/svg $LIB_DIR/lv2/svg +cp version.txt $LIB_DIR/lv2/valve_audio_dsp_version.txt +diff --git a/ucm2/conf.d/sof-nau8821-max/HiFi.conf b/ucm2/conf.d/sof-nau8821-max/HiFi.conf +index 48412ee..f0c5b82 100644 +--- a/ucm2/conf.d/sof-nau8821-max/HiFi.conf ++++ b/ucm2/conf.d/sof-nau8821-max/HiFi.conf +@@ -32,7 +32,7 @@ SectionDevice."Headphones".0 { + Value { + PlaybackPriority 200 + PlaybackPCM "hw:${CardId},0" +- JackControl "Headset Jack" ++ JackControl "Headphone Jack" + } + ConflictingDevice [ + ] +@@ -89,7 +89,7 @@ SectionDevice."Headset" { + Value { + CapturePriority 300 + CapturePCM "hw:${CardId},0" +- JackControl "Headset Jack" ++ JackControl "Headset Mic Jack" + } + ConflictingDevice [ + ]