Fix audio tee sink debugging tool
Bug: 28119692
Change-Id: Ieb7b41754fab0111602dd29b63b0fd8c9c4b4d2d
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 87374bc..21ce6b1 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -3488,7 +3488,7 @@
MonoPipe *monoPipe = new MonoPipe(mNormalFrameCount * 4, format, true /*writeCanBlock*/);
const NBAIO_Format offers[1] = {format};
size_t numCounterOffers = 0;
-#if !LOG_NDEBUG
+#if !LOG_NDEBUG || defined(TEE_SINK)
ssize_t index =
#else
(void)