Home
last modified time | relevance | path

Searched refs:MAX_NUM_CHANNELS (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DAudioMixer.h54 static const uint32_t MAX_NUM_CHANNELS = 2; variable
158 int16_t volume[MAX_NUM_CHANNELS]; // [0]3.12 fixed point
162 int32_t prevVolume[MAX_NUM_CHANNELS];
166 int32_t volumeInc[MAX_NUM_CHANNELS];
DAudioMixer.cpp105 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(2 == MAX_NUM_CHANNELS); in AudioMixer()
114 ALOG_ASSERT(2 == MAX_NUM_CHANNELS, "bad MAX_NUM_CHANNELS %d", MAX_NUM_CHANNELS); in AudioMixer()
243 if (channelCount > MAX_NUM_CHANNELS) { in initTrackDownmix()
569 downmixerBufferProvider != NULL ? MAX_NUM_CHANNELS : channelCount, in setResampler()
582 for (uint32_t i=0 ; i<MAX_NUM_CHANNELS ; i++) { in adjustVolumeRamp()
715 state->outputTemp = new int32_t[MAX_NUM_CHANNELS * state->frameCount]; in process__validate()
718 state->resampleTemp = new int32_t[MAX_NUM_CHANNELS * state->frameCount]; in process__validate()
785 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
795 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t)); in track__genericResample()
1067 size_t bufSize = state->frameCount * sizeof(int16_t) * MAX_NUM_CHANNELS; in process__nop()
[all …]