mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-04 23:16:06 +00:00
Check Pulseaudio server availability
This commit is contained in:
@@ -89,7 +89,8 @@ AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum platform system) {
|
||||
#endif
|
||||
default:
|
||||
#ifdef HAVE_PULSE
|
||||
return &audio_callbacks_pulse;
|
||||
if (audio_pulse_init())
|
||||
return &audio_callbacks_pulse;
|
||||
#endif
|
||||
return &audio_callbacks_alsa;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user