AudioFlinger: Extract PatchPanel class
Test: atest audiorecord_tests audiotrack_tests audiorouting_tests trackplayerbase_tests audiosystem_tests
Test: atest AAudioTests AudioTrackOffloadTest
Test: atest AudioTrackTest AudioRecordTest
Test: YouTube Camera
Bug: 288339104
Bug: 291284401
Merged-In: I165db16ae8214335017bac034a42e7ba9060a48d
Change-Id: I165db16ae8214335017bac034a42e7ba9060a48d
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index e92fd35..0c1da6e 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -159,6 +159,7 @@
{
friend class sp<AudioFlinger>;
friend class Client; // removeClient_l();
+ friend class PatchPanel;
// TODO(b/291012167) replace the Thread friends with an interface.
friend class DirectOutputThread;
friend class MixerThread;
@@ -577,7 +578,6 @@
class DeviceEffectManager;
// TODO(b/288339104) these should be separate files
public:
- class PatchPanel;
class DeviceEffectManagerCallback;
private:
struct TeePatch;
@@ -585,8 +585,6 @@
using TeePatches = std::vector<TeePatch>;
private:
-#include "PatchPanel.h"
-
#include "PatchCommandThread.h"
#include "DeviceEffectManager.h"