diff options
author | Andy Hung <hunga@google.com> | 2014-07-21 21:56:01 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2014-07-24 18:57:27 -0700 |
commit | 9a59276fb465e492138e0576523b54079671e8f4 (patch) | |
tree | e3e51544dc4e641cdfe0b38bfaac530167656eb8 /services/audioflinger/AudioMixer.cpp | |
parent | e93b6b7347a7846c8fd746542364ec11b0cd5124 (diff) | |
download | frameworks_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/AudioMixer.cpp')
-rw-r--r-- | services/audioflinger/AudioMixer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/audioflinger/AudioMixer.cpp b/services/audioflinger/AudioMixer.cpp index e777de5..6edca1b 100644 --- a/services/audioflinger/AudioMixer.cpp +++ b/services/audioflinger/AudioMixer.cpp @@ -40,6 +40,7 @@ #include <common_time/cc_helper.h> #include <media/EffectsFactoryApi.h> +#include <audio_effects/effect_downmix.h> #include "AudioMixerOps.h" #include "AudioMixer.h" @@ -941,7 +942,9 @@ bool AudioMixer::track_t::setResampler(uint32_t trackSampleRate, uint32_t devSam // but if none exists, it is the channel count (1 for mono). const int resamplerChannelCount = downmixerBufferProvider != NULL ? mMixerChannelCount : channelCount; - ALOGVV("Creating resampler with %#x format\n", mMixerInFormat); + ALOGVV("Creating resampler:" + " format(%#x) channels(%d) devSampleRate(%u) quality(%d)\n", + mMixerInFormat, resamplerChannelCount, devSampleRate, quality); resampler = AudioResampler::create( mMixerInFormat, resamplerChannelCount, |