commit | fa2f4f318a2337fb788d2c4cba264573437776c6 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jul 17 12:40:43 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Mon Oct 09 14:05:04 2023 -0700 |
tree | 7885cee02f021f8b5298a22d6e668d7768c17a38 | |
parent | 8b99ea30d80c5bb5add544d9a1ad7624a1ccc71b [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 4c1ed4f..55b4f59 100644 --- a/services/audioflinger/Effects.cpp +++ b/services/audioflinger/Effects.cpp
@@ -1882,7 +1882,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(); } }