AudioFlinger: Add ThreadBase and PlaybackThread interfaces
ThreadBase::standby() check renamed ThreadBase::inStandby() to avoid future
confusion with an active method.
Test: atest audiorecord_tests audiotrack_tests audiorouting_tests trackplayerbase_tests audiosystem_tests
Test: atest AudioTrackTest AudioRecordTest
Test: YouTube Camera
Bug: 288339104
Bug: 289233517
Merged-In: Ied45a5d762b5a53c9d5dcd88d26efaa8b058836d
Change-Id: Ied45a5d762b5a53c9d5dcd88d26efaa8b058836d
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 3fcf693..11114da 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -124,6 +124,7 @@
// include AudioFlinger component interfaces
#include "IAfEffect.h"
+#include "IAfThread.h"
#include "IAfTrack.h"
namespace android {
@@ -562,16 +563,6 @@
void requestLogMerge();
// TODO(b/288339104) replace these forward declaration classes with interfaces.
-public:
- class RecordThread;
- class PlaybackThread;
- class MixerThread;
- class DirectOutputThread;
- class OffloadThread;
- class DuplicatingThread;
- class AsyncCallbackThread;
- class BitPerfectThread;
-private:
class DeviceEffectManager;
// TODO(b/288339104) these should be separate files
public: