From d355c1fc3b5aa2a20092f08c49592e5ddf914d00 Mon Sep 17 00:00:00 2001 From: "Matheus A." Date: Wed, 24 Dec 2025 04:52:30 -0300 Subject: [PATCH] scripts/shell/sunshine-tweaks.sh -- Adds sleep to do_device_setup() function --- scripts/shell/sunshine-tweaks.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/shell/sunshine-tweaks.sh b/scripts/shell/sunshine-tweaks.sh index 0a3f4fe..e8364e3 100755 --- a/scripts/shell/sunshine-tweaks.sh +++ b/scripts/shell/sunshine-tweaks.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Author: iago +# @Author: iago state=waiting_for_sunshine sleep_time=1 @@ -21,6 +21,9 @@ is_sunshine_transmitting() { do_device_setup() { # trocar dispositivo padrĂ£o pactl set-default-sink "$default_device" + + sleep 3 + # conectar dispositivo virtual do OBS pw-link "$obs_device$obs_device_fl" "$sunshine_device$sunshine_device_fl" pw-link "$obs_device$obs_device_fr" "$sunshine_device$sunshine_device_fr"