Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 179c103d authored by Caroline Tice's avatar Caroline Tice Committed by Android (Google) Code Review
Browse files

Merge "Fix 2 compiler warnings."

parents 5589a4f1 3427ab41
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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");
@@ -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;