commit | 4b6cad44b81ab537a09d99b6e07e7918e343e10b | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jul 17 12:40:43 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Sat Aug 19 00:20:41 2023 +0000 |
tree | 49b5ce368c5bb50c3967c99c440a4af9fc42b23a | |
parent | 65737d768dceb4c0f06fba50be2ca3a8b755c648 [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 055665d..271b916 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(); } }