Skip to content

Commit

Permalink
Wait for PulseAudio to start
Browse files Browse the repository at this point in the history
  • Loading branch information
FlUxIuS committed Dec 9, 2024
1 parent 64b5f25 commit 73f3728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/rfswift/rfutils/hostcli.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ func ensurePulseAudioRunning() error {
return fmt.Errorf("failed to start PulseAudio: %w", startErr)
}
fmt.Println("PulseAudio started successfully.")
time.Sleep(2 * time.Second) // Wait for 2 seconds
} else {
fmt.Println("PulseAudio is already running.")
}
Expand Down

0 comments on commit 73f3728

Please sign in to comment.