added wireplumber confs

This commit is contained in:
2025-08-09 19:11:31 +02:00
parent b0783e09e5
commit e2d9f5ab05
3 changed files with 31 additions and 1 deletions

1
.gitignore vendored
View File

@@ -20,3 +20,4 @@
!rice-2.png !rice-2.png
!rice-3.png !rice-3.png
!btop !btop
!wireplumber/

View File

@@ -17,7 +17,7 @@ start() {
notify-send -u low "$PROGRAM_NAME" "$PROGRAM_NAME is starting ..." notify-send -u low "$PROGRAM_NAME" "$PROGRAM_NAME is starting ..."
gpu-screen-recorder -w screen -f 120 -a default_output -a default_input -fm vfr \ gpu-screen-recorder -w screen -f 120 -a default_output -a default_input -fm vfr \
-c mkv -bm qp -cr full -tune quality -k av1_10bit -q very_high -r 120 \ -c mkv -bm qp -cr full -tune quality -k av1_10bit -q very_high -r 120 \
-replay-storage ram -ab 320 -cursor yes -keyint 2 -o "$video_path" & -replay-storage ram -ab 320 -cursor yes -keyint 2 -o "$video_path" &> /dev/null &
echo $! > "$PID_FILE" echo $! > "$PID_FILE"
} }

View File

@@ -0,0 +1,29 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_output.usb-iFi__by_AMR__iFi__by_AMR__HD_USB_Audio_0003-00.analog-stereo"
}
]
actions = {
update-props = {
audio.format = "S32_LE"
audio.rate = 96000
session.suspend-timeout-seconds = 0
}
}
},
{
matches = [
{
node.name = "alsa_output.hw_U192k_0"
}
]
actions = {
update-props = {
audio.format = "S32_LE"
audio.rate = 96000
}
}
}
]