From 21e8c50bd13ebe44f3088e26c9c6df0e163c469c Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Thu, 12 Apr 2012 09:39:42 -0700 Subject: FastMixer update Updates: - Add support for mono fast tracks - Add support for optional sample rate conversion on fast tracks - Log sample rate and frame count - Enable statistics Change-Id: Ife014edf4f452da361f3eaaae19209ef6ff6958b --- services/audioflinger/FastMixer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'services/audioflinger/FastMixer.h') diff --git a/services/audioflinger/FastMixer.h b/services/audioflinger/FastMixer.h index b24f2eb..8a8fcb8 100644 --- a/services/audioflinger/FastMixer.h +++ b/services/audioflinger/FastMixer.h @@ -58,6 +58,8 @@ struct FastMixerDumpState { uint32_t mWriteErrors; // total number of write() errors uint32_t mUnderruns; // total number of underruns uint32_t mOverruns; // total number of overruns + uint32_t mSampleRate; + size_t mFrameCount; #ifdef FAST_MIXER_STATISTICS // cycle times in seconds float mMean; -- cgit v1.1