Remove tee sink debugging at compile time
Bug: 8223560
Change-Id: Iddbfb06c45d43d9f20bb428215dd4094931e19a7
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index fa1e336..caac882 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -542,9 +542,11 @@
sp<NBAIO_Sink> mPipeSink;
// The current sink for the normal mixer to write it's (sub)mix, mOutputSink or mPipeSink
sp<NBAIO_Sink> mNormalSink;
+#ifdef TEE_SINK
// For dumpsys
sp<NBAIO_Sink> mTeeSink;
sp<NBAIO_Source> mTeeSource;
+#endif
uint32_t mScreenState; // cached copy of gScreenState
static const size_t kFastMixerLogSize = 8 * 1024;
sp<NBLog::Writer> mFastMixerNBLogWriter;
@@ -703,8 +705,11 @@
audio_channel_mask_t channelMask,
audio_io_handle_t id,
audio_devices_t outDevice,
- audio_devices_t inDevice,
- const sp<NBAIO_Sink>& teeSink);
+ audio_devices_t inDevice
+#ifdef TEE_SINK
+ , const sp<NBAIO_Sink>& teeSink
+#endif
+ );
virtual ~RecordThread();
// no addTrack_l ?