AudioFlinger: Update Client class includes
Test: atest AudioRecordTest AudioTrackTest
Test: Camera YouTube
Bug: 292018229
Merged-In: I80d3abcc7047adbc736773d3171d899238aaaebd
Change-Id: I80d3abcc7047adbc736773d3171d899238aaaebd
diff --git a/services/audioflinger/Client.h b/services/audioflinger/Client.h
index 36d6ff7..b2e3cf7 100644
--- a/services/audioflinger/Client.h
+++ b/services/audioflinger/Client.h
@@ -16,6 +16,11 @@
#pragma once
+#include <afutils/AllocatorFactory.h>
+#include <android-base/macros.h> // DISALLOW_COPY_AND_ASSIGN
+#include <utils/Mutex.h>
+#include <utils/RefBase.h> // avoid transitive dependency
+
// TODO(b/291318727) Move to nested namespace
namespace android {
@@ -29,7 +34,7 @@
virtual status_t moveAuxEffectToIo(
int effectId,
const sp<IAfPlaybackThread>& dstThread,
- sp<IAfPlaybackThread>* srcThread) = 0;
+ sp<IAfPlaybackThread>* srcThread) = 0; // used by indirectly by clients.
};
class Client : public RefBase {