diff options
author | Glenn Kasten <gkasten@google.com> | 2012-04-12 09:39:42 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-04-20 07:38:05 -0700 |
commit | 21e8c50bd13ebe44f3088e26c9c6df0e163c469c (patch) | |
tree | 0437226abb896de30fd20123eb3089168989391a /services/audioflinger/FastMixer.h | |
parent | 8d6086781c79620ce6133df7bd27f0efdee6b4e6 (diff) | |
download | frameworks_av-21e8c50bd13ebe44f3088e26c9c6df0e163c469c.zip frameworks_av-21e8c50bd13ebe44f3088e26c9c6df0e163c469c.tar.gz frameworks_av-21e8c50bd13ebe44f3088e26c9c6df0e163c469c.tar.bz2 |
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
Diffstat (limited to 'services/audioflinger/FastMixer.h')
-rw-r--r-- | services/audioflinger/FastMixer.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |