added wireplumber confs
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -20,3 +20,4 @@
|
||||
!rice-2.png
|
||||
!rice-3.png
|
||||
!btop
|
||||
!wireplumber/
|
||||
|
@@ -17,7 +17,7 @@ start() {
|
||||
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 \
|
||||
-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"
|
||||
}
|
||||
|
||||
|
29
wireplumber/wireplumber.conf.d/60-specific-device-rates.conf
Normal file
29
wireplumber/wireplumber.conf.d/60-specific-device-rates.conf
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user