mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 15:27:18 +00:00
Allow usage of Pulseaudio and ALSA on Raspberry Pi
This commit is contained in:
1 parent
1a8dbf2984
commit
e84fc50aa1
1 file changed
+2
-1
+2
-1
@@ -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