summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-02-26 09:20:22 -0800
committerGlenn Kasten <gkasten@google.com>2013-02-26 11:36:38 -0800
commit46909e7eb074ce1b95b8a411eb71154f53f84f77 (patch)
treea0b31a2590a604b0e2c7a6a133bba067dadfad5e /services/audioflinger/AudioFlinger.h
parentceb388d6c03c38b96dc41c0ea4804b749aa077c4 (diff)
downloadframeworks_av-46909e7eb074ce1b95b8a411eb71154f53f84f77.zip
frameworks_av-46909e7eb074ce1b95b8a411eb71154f53f84f77.tar.gz
frameworks_av-46909e7eb074ce1b95b8a411eb71154f53f84f77.tar.bz2
Remove tee sink debugging at compile time
Bug: 8223560 Change-Id: Iddbfb06c45d43d9f20bb428215dd4094931e19a7
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 44bd260..d0ef922 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -588,11 +588,15 @@ private:
status_t closeOutput_nonvirtual(audio_io_handle_t output);
status_t closeInput_nonvirtual(audio_io_handle_t input);
+#ifdef TEE_SINK
// all record threads serially share a common tee sink, which is re-created on format change
sp<NBAIO_Sink> mRecordTeeSink;
sp<NBAIO_Source> mRecordTeeSource;
+#endif
public:
+
+#ifdef TEE_SINK
// tee sink, if enabled by property, allows dumpsys to write most recent audio to .wav file
static void dumpTee(int fd, const sp<NBAIO_Source>& source, audio_io_handle_t id = 0);
@@ -611,6 +615,8 @@ public:
static const size_t kTeeSinkInputFramesDefault = 0x200000;
static const size_t kTeeSinkOutputFramesDefault = 0x200000;
static const size_t kTeeSinkTrackFramesDefault = 0x1000;
+#endif
+
};
#undef INCLUDING_FROM_AUDIOFLINGER_H