Home | History | Annotate | Download | only in src

Lines Matching defs:pInstance

74     LVCS_Instance_t     *pInstance = (LVCS_Instance_t  *)hInstance;
75 LVCS_BypassMix_t *pConfig = (LVCS_BypassMix_t *)&pInstance->BypassMix;
84 (pInstance->bTimerDone == LVM_TRUE)
85 && (pInstance->MSTarget1 != 0x7FFF) /* this indicates an off->on transtion */
88 pInstance->TransitionGain = pParams->EffectLevel;
93 pInstance->TransitionGain = 0;
105 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain);
117 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain));
147 if (pInstance->Params.CompressorMode == LVM_MODE_ON)
149 GainCorrect = (LVM_INT16)( pInstance->VolCorrect.GainMin
150 - (((LVM_INT32)pInstance->VolCorrect.GainMin * (LVM_INT32)pInstance->TransitionGain) >> 15)
151 + (((LVM_INT32)pInstance->VolCorrect.GainFull * (LVM_INT32)pInstance->TransitionGain) >> 15) );
215 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
216 LVCS_BypassMix_t *pConfig = (LVCS_BypassMix_t *)&pInstance->BypassMix;
221 if ((pInstance->Params.OperatingMode & LVCS_BYPASSMIXSWITCH) != 0)
254 LVCS_Instance_t *pInstance = (LVCS_Instance_t *)hInstance;
261 if ((pInstance->OutputDevice == LVCS_HEADPHONE) &&
262 (pInstance->bInOperatingModeTransition) &&
263 (pInstance->MSTarget0 == 0x0000)&& /* this indicates an on->off transition */
267 pInstance->Params.OperatingMode = LVCS_OFF;
270 pInstance->bInOperatingModeTransition = LVM_FALSE;
273 if((*pInstance->Capabilities.CallBack) != LVM_NULL){
274 (*pInstance->Capabilities.CallBack)(pInstance->Capabilities.pBundleInstance,
281 if ((pInstance->OutputDevice == LVCS_HEADPHONE) &&
282 (pInstance->MSTarget0 == 1) &&
283 (pInstance->bTimerDone == LVM_TRUE)){
286 pInstance->bInOperatingModeTransition = LVM_FALSE;