Allow usage of Pulseaudio and ALSA on Raspberry Pi

This commit is contained in:
Iwan Timmer
2016-04-03 12:38:44 +02:00
parent 1a8dbf2984
commit e84fc50aa1
+1
View File
@@ -100,6 +100,7 @@ AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum platform system) {
#endif #endif
#ifdef HAVE_PI #ifdef HAVE_PI
case PI: case PI:
if (audio_device == NULL || strcmp(audio_device, "local") == 0 || strcmp(audio_device, "hdmi") == 0)
return (PAUDIO_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "audio_callbacks_omx"); return (PAUDIO_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "audio_callbacks_omx");
#endif #endif
default: default: