diff options
-rw-r--r-- | services/audiopolicy/service/AudioPolicyEffects.cpp | 4 | ||||
-rw-r--r-- | services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/services/audiopolicy/service/AudioPolicyEffects.cpp b/services/audiopolicy/service/AudioPolicyEffects.cpp index 6a43bea..fce471f 100644 --- a/services/audiopolicy/service/AudioPolicyEffects.cpp +++ b/services/audiopolicy/service/AudioPolicyEffects.cpp @@ -325,10 +325,6 @@ status_t AudioPolicyEffects::releaseOutputSessionEffects(audio_io_handle_t outpu ALOGV("doReleaseOutputSessionEffects(): output processing released from session: %d", audioSession); } - - mAudioPolicyService->onOutputSessionEffectsUpdate(stream, (audio_session_t)audioSession, - AUDIO_OUTPUT_FLAG_NONE, 0, -1, false); - return status; } diff --git a/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp b/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp index 96bc4c7..54b1982 100644 --- a/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp +++ b/services/audiopolicy/service/AudioPolicyInterfaceImpl.cpp @@ -282,6 +282,8 @@ void AudioPolicyService::doReleaseOutput(audio_io_handle_t output, { ALOGV("doReleaseOutput from tid %d", gettid()); Mutex::Autolock _l(mLock); + onOutputSessionEffectsUpdate(stream, session, + AUDIO_OUTPUT_FLAG_NONE, 0, -1, false); mAudioPolicyManager->releaseOutput(output, stream, session); } |