Loading media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -340,8 +340,10 @@ exit: } delete pContext; } if (pHandle != NULL) *pHandle = (effect_handle_t)NULL; } else { if (pHandle != NULL) *pHandle = (effect_handle_t)pContext; } ALOGV("\tEffectCreate end..\n\n"); Loading Loading @@ -2669,8 +2671,8 @@ int Volume_setParameter (EffectContext *pContext, void *pParam, void *pValue){ case VOLUME_PARAM_ENABLESTEREOPOSITION: positionEnabled = *(uint32_t *)pValue; status = VolumeEnableStereoPosition(pContext, positionEnabled); status = VolumeSetStereoPosition(pContext, pContext->pBundledContext->positionSaved); (void) VolumeEnableStereoPosition(pContext, positionEnabled); (void) VolumeSetStereoPosition(pContext, pContext->pBundledContext->positionSaved); //ALOGV("\tVolume_setParameter() VOLUME_PARAM_ENABLESTEREOPOSITION called"); break; Loading Loading
media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -340,8 +340,10 @@ exit: } delete pContext; } if (pHandle != NULL) *pHandle = (effect_handle_t)NULL; } else { if (pHandle != NULL) *pHandle = (effect_handle_t)pContext; } ALOGV("\tEffectCreate end..\n\n"); Loading Loading @@ -2669,8 +2671,8 @@ int Volume_setParameter (EffectContext *pContext, void *pParam, void *pValue){ case VOLUME_PARAM_ENABLESTEREOPOSITION: positionEnabled = *(uint32_t *)pValue; status = VolumeEnableStereoPosition(pContext, positionEnabled); status = VolumeSetStereoPosition(pContext, pContext->pBundledContext->positionSaved); (void) VolumeEnableStereoPosition(pContext, positionEnabled); (void) VolumeSetStereoPosition(pContext, pContext->pBundledContext->positionSaved); //ALOGV("\tVolume_setParameter() VOLUME_PARAM_ENABLESTEREOPOSITION called"); break; Loading