diff options
Diffstat (limited to 'src/rest-api.c')
-rw-r--r-- | src/rest-api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rest-api.c b/src/rest-api.c index 06b6ea87..c7f4b03e 100644 --- a/src/rest-api.c +++ b/src/rest-api.c @@ -615,8 +615,10 @@ void initPlugins(AFB_session *session) { int i = 0; plugins[i++] = tokenRegister(session), - plugins[i++] = alsaRegister(session), plugins[i++] = helloWorldRegister(session), +#ifdef HAVE_AUDIO_PLUGIN + plugins[i++] = audioRegister(session), +#endif #ifdef HAVE_RADIO_PLUGIN plugins[i++] = radioRegister(session), #endif |