Lines Matching refs:ap
133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IEffectSend_EnableEffectSend() local
136 assert(NULL != ap); in IEffectSend_EnableEffectSend()
138 COutputMix *outputMix = CAudioPlayer_GetOutputMix(ap); in IEffectSend_EnableEffectSend()
142 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, in IEffectSend_EnableEffectSend()
144 initialLevel + ap->mVolume.mLevel)); in IEffectSend_EnableEffectSend()
146 result = translateEnableFxSendError(android_fxSend_attach(ap, (bool) enable, in IEffectSend_EnableEffectSend()
148 initialLevel + ap->mVolume.mLevel)); in IEffectSend_EnableEffectSend()
199 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IEffectSend_SetDirectLevel() local
201 if (NULL != ap) { in IEffectSend_SetDirectLevel()
202 SLmillibel oldDirectLevel = ap->mDirectLevel; in IEffectSend_SetDirectLevel()
204 ap->mDirectLevel = directLevel; in IEffectSend_SetDirectLevel()
206 ap->mAmplFromDirectLevel = sles_to_android_amplification(directLevel); in IEffectSend_SetDirectLevel()
234 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IEffectSend_GetDirectLevel() local
236 if (NULL != ap) { in IEffectSend_GetDirectLevel()
237 *pDirectLevel = ap->mDirectLevel; in IEffectSend_GetDirectLevel()
270 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? in IEffectSend_SetSendLevel() local
272 if (NULL != ap) { in IEffectSend_SetSendLevel()
275 result = android_fxSend_setSendLevel(ap, sendLevel + ap->mVolume.mLevel); in IEffectSend_SetSendLevel()