Searched refs:mixBuffer (Results 1 - 4 of 4) sorted by relevance

/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c236 stereo *mixBuffer = (stereo *) dstWriter; local
243 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
244 mixBuffer->left += (short) (source->left * track->mGains[0]);
245 mixBuffer->right += (short) (source->right * track->mGains[1]);
249 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
250 mixBuffer->left += source->left;
251 mixBuffer->right += source->right;
257 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
258 mixBuffer->left = (short) (source->left * track->mGains[0]);
259 mixBuffer
[all...]
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp61 short *mixBuffer = NULL; local
177 delete[] mixBuffer;
215 delete[] mixBuffer;
216 mixBuffer = NULL;
222 mixBuffer = new short[frameCount * 2];
253 ALOG_ASSERT(mixBuffer != NULL);
291 (void *) mixBuffer);
353 ALOG_ASSERT(mixBuffer != NULL);
416 if ((command & FastMixerState::WRITE) && (outputSink != NULL) && (mixBuffer != NULL)) {
418 memset(mixBuffer,
[all...]
H A DAudioFlinger.h1108 int16_t *mixBuffer() const { return mMixBuffer; }; function in class:android::AudioFlinger::PlaybackThread
H A DAudioFlinger.cpp4332 mMainBuffer(thread->mixBuffer()),

Completed in 294 milliseconds