commit | a9b24594270d8ed8340c9d99e521fee90f7c413b | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jul 17 12:40:43 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Fri Aug 11 14:05:02 2023 -0700 |
tree | 1fdb3e58c6a85ccc32775edb4da38db8206b4275 | |
parent | 75e182fd7600220da0dfb3b3fd3e4e3f79d66be6 [diff] [blame] |
AudioFlinger: Create Client callback Test: atest AudioTrackTest AudioRecordTest Test: Camera YouTube Bug: 291319167 Merged-In: I09328a818726b2dcf6c68247643eae4ec4cb48b8 Change-Id: I09328a818726b2dcf6c68247643eae4ec4cb48b8
diff --git a/services/audioflinger/Effects.cpp b/services/audioflinger/Effects.cpp index 0f78f80..e9d1baf 100644 --- a/services/audioflinger/Effects.cpp +++ b/services/audioflinger/Effects.cpp
@@ -1886,7 +1886,7 @@ } mCblkMemory.clear(); // free the shared memory before releasing the heap it belongs to // Client destructor must run with AudioFlinger client mutex locked - Mutex::Autolock _l2(mClient->audioFlinger()->mClientLock); + Mutex::Autolock _l2(mClient->afClientCallback()->clientMutex()); mClient.clear(); } }