summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixer.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2014-07-21 21:56:01 -0700
committerAndy Hung <hunga@google.com>2014-07-24 18:57:27 -0700
commit9a59276fb465e492138e0576523b54079671e8f4 (patch)
treee3e51544dc4e641cdfe0b38bfaac530167656eb8 /services/audioflinger/FastMixer.h
parente93b6b7347a7846c8fd746542364ec11b0cd5124 (diff)
downloadframeworks_av-9a59276fb465e492138e0576523b54079671e8f4.zip
frameworks_av-9a59276fb465e492138e0576523b54079671e8f4.tar.gz
frameworks_av-9a59276fb465e492138e0576523b54079671e8f4.tar.bz2
Add multichannel capability to AudioFlinger
But not enabled (kEnableExtendedChannels == false). Change-Id: I62f7e31fbd29ad703a9a02f5d1a280b6972dd423
Diffstat (limited to 'services/audioflinger/FastMixer.h')
-rw-r--r--services/audioflinger/FastMixer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.h b/services/audioflinger/FastMixer.h
index 4671670..fde8c2b 100644
--- a/services/audioflinger/FastMixer.h
+++ b/services/audioflinger/FastMixer.h
@@ -66,6 +66,8 @@ private:
void* mSinkBuffer; // used for mixer output format translation
// if sink format is different than mixer output.
size_t mSinkBufferSize;
+ uint32_t mSinkChannelCount;
+ audio_channel_mask_t mSinkChannelMask;
void* mMixerBuffer; // mixer output buffer.
size_t mMixerBufferSize;
audio_format_t mMixerBufferFormat; // mixer output format: AUDIO_FORMAT_PCM_(16_BIT|FLOAT).