Searched refs:FCC_2 (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioFlinger.h81 // The macro FCC_2 highlights some (but not all) places where there are are 2-channel assumptions.
84 #define FCC_2 2 // FCC_2 = Fixed Channel Count 2 macro
350 // FCC_2 <= channels <= AudioMixer::MAX_NUM_CHANNELS.
357 uint32_t channelCount = FCC_2; // stereo is default
360 if (channelCount < FCC_2 // mono is not supported at this time
371 if (channelCount >= FCC_2 // mono is not supported at this time
H A DFastMixer.cpp44 #define FCC_2 2 // fixed channel count assumption macro
59 mSinkChannelCount(FCC_2),
H A DAudioFlinger.cpp2073 (audio_channel_count_from_in_mask(halconfig.channel_mask) <= FCC_2) &&
2074 (audio_channel_count_from_in_mask(config->channel_mask) <= FCC_2)) {
2720 // Check whether the destination thread has a channel count of FCC_2, which is
2724 dstThread->mChannelCount != FCC_2) {
2727 dstThread, dstThread->mChannelCount, FCC_2);
H A DAudioMixer.cpp45 // The FCC_2 macro refers to the Fixed Channel Count of 2 for the legacy integer mixer.
46 #ifndef FCC_2
47 #define FCC_2 2 macro
1989 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) {
2068 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) {
H A DEffects.cpp1426 audio_bytes_per_sample(AUDIO_FORMAT_PCM_16_BIT) * min(FCC_2, thread->channelCount());
H A DThreads.cpp1166 if ((mType == MIXER || mType == DUPLICATING) && mChannelCount != FCC_2) {
6650 mBufFrameSize = max(mSrcChannelCount, FCC_2)

Completed in 104 milliseconds