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