Lines Matching refs:audioPolicyEffects
261 sp<AudioPolicyEffects>audioPolicyEffects; in startOutput() local
263 getPlaybackClientAndEffects(portId, client, audioPolicyEffects, __func__); in startOutput()
265 if (audioPolicyEffects != 0) { in startOutput()
267 status_t status = audioPolicyEffects->addOutputSessionEffects( in startOutput()
296 sp<AudioPolicyEffects>audioPolicyEffects; in doStopOutput() local
298 getPlaybackClientAndEffects(portId, client, audioPolicyEffects, __func__); in doStopOutput()
300 if (audioPolicyEffects != 0) { in doStopOutput()
302 status_t status = audioPolicyEffects->releaseOutputSessionEffects( in doStopOutput()
330 sp<AudioPolicyEffects> audioPolicyEffects; in doReleaseOutput() local
332 getPlaybackClientAndEffects(portId, client, audioPolicyEffects, __func__); in doReleaseOutput()
334 if (audioPolicyEffects != 0 && client->active) { in doReleaseOutput()
336 audioPolicyEffects->releaseOutputSessionEffects( in doReleaseOutput()
414 sp<AudioPolicyEffects>audioPolicyEffects; in getInputForAttr() local
428 audioPolicyEffects = mAudioPolicyEffects; in getInputForAttr()
473 if (audioPolicyEffects != 0) { in getInputForAttr()
475 status_t status = audioPolicyEffects->addInputEffects(*input, inputSource, session); in getInputForAttr()
633 sp<AudioPolicyEffects>audioPolicyEffects; in releaseInput() local
637 audioPolicyEffects = mAudioPolicyEffects; in releaseInput()
656 if (audioPolicyEffects != 0) { in releaseInput()
658 status_t status = audioPolicyEffects->releaseInputEffects(client->io, client->session); in releaseInput()
892 status_t AudioPolicyService::getAudioPolicyEffects(sp<AudioPolicyEffects>& audioPolicyEffects) in getAudioPolicyEffects() argument
899 audioPolicyEffects = mAudioPolicyEffects; in getAudioPolicyEffects()
901 if (audioPolicyEffects == 0) { in getAudioPolicyEffects()
912 sp<AudioPolicyEffects>audioPolicyEffects; in queryDefaultPreProcessing() local
913 status_t status = getAudioPolicyEffects(audioPolicyEffects); in queryDefaultPreProcessing()
918 return audioPolicyEffects->queryDefaultInputEffects( in queryDefaultPreProcessing()
929 sp<AudioPolicyEffects>audioPolicyEffects; in addSourceDefaultEffect() local
930 status_t status = getAudioPolicyEffects(audioPolicyEffects); in addSourceDefaultEffect()
937 return audioPolicyEffects->addSourceDefaultEffect( in addSourceDefaultEffect()
948 sp<AudioPolicyEffects>audioPolicyEffects; in addStreamDefaultEffect() local
949 status_t status = getAudioPolicyEffects(audioPolicyEffects); in addStreamDefaultEffect()
956 return audioPolicyEffects->addStreamDefaultEffect( in addStreamDefaultEffect()
962 sp<AudioPolicyEffects>audioPolicyEffects; in removeSourceDefaultEffect() local
963 status_t status = getAudioPolicyEffects(audioPolicyEffects); in removeSourceDefaultEffect()
970 return audioPolicyEffects->removeSourceDefaultEffect(id); in removeSourceDefaultEffect()
975 sp<AudioPolicyEffects>audioPolicyEffects; in removeStreamDefaultEffect() local
976 status_t status = getAudioPolicyEffects(audioPolicyEffects); in removeStreamDefaultEffect()
983 return audioPolicyEffects->removeStreamDefaultEffect(id); in removeStreamDefaultEffect()