mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +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
|
||||
#ifdef HAVE_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
|
||||
default:
|
||||
#ifdef HAVE_PULSE
|
||||
|
||||
Reference in New Issue
Block a user