[adsp] fix wrong used settings parameter
authorAlwin Esch <alwin.esch@web.de>
Sun, 13 Sep 2015 09:36:05 +0000 (11:36 +0200)
committerAlwin Esch <alwin.esch@web.de>
Sun, 13 Sep 2015 09:36:05 +0000 (11:36 +0200)
xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSP.cpp

index 802e650..5ce2a5c 100644 (file)
@@ -93,7 +93,7 @@ void CActiveAEDSP::OnApplicationMessage(KODI::MESSAGING::ThreadMessage* pMsg)
     case TMSG_SETAUDIODSPSTATE:
       if(pMsg->param1 == ACTIVE_AE_DSP_STATE_ON)
       {
-        if(pMsg->param1 == ACTIVE_AE_DSP_ASYNC_ACTIVATE)
+        if(pMsg->param2 == ACTIVE_AE_DSP_ASYNC_ACTIVATE)
         {
           Activate(true);
         }