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/FastMixerState.cpp | |
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/FastMixerState.cpp')
-rw-r--r-- | services/audioflinger/FastMixerState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/FastMixerState.cpp b/services/audioflinger/FastMixerState.cpp index 4eacacf..139a1c8 100644 --- a/services/audioflinger/FastMixerState.cpp +++ b/services/audioflinger/FastMixerState.cpp @@ -19,7 +19,8 @@ namespace android { FastTrack::FastTrack() : - mBufferProvider(NULL), mVolumeProvider(NULL), mGeneration(0) + mBufferProvider(NULL), mVolumeProvider(NULL), mSampleRate(0), + mChannelMask(AUDIO_CHANNEL_OUT_STEREO), mGeneration(0) { } |