mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-24 09:06:45 +00:00
Allow usage of Pulseaudio and ALSA on Raspberry Pi
This commit is contained in:
@@ -100,7 +100,8 @@ AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum platform system) {
|
|||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_PI
|
#ifdef HAVE_PI
|
||||||
case PI:
|
case PI:
|
||||||
return (PAUDIO_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "audio_callbacks_omx");
|
if (audio_device == NULL || strcmp(audio_device, "local") == 0 || strcmp(audio_device, "hdmi") == 0)
|
||||||
|
return (PAUDIO_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "audio_callbacks_omx");
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
#ifdef HAVE_PULSE
|
#ifdef HAVE_PULSE
|
||||||
|
|||||||
Reference in New Issue
Block a user