Searched defs:vr (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp56 int32_t vr = mVolume[1]; local
82 out[outputIndex++] += vr * interp(&right, x);
83 // out[outputIndex++] += vr * in[inputIndex*2];
122 int32_t vr = mVolume[1]; local
149 out[outputIndex++] += vr * sample;
H A DAudioMixer.cpp803 int32_t vr = t->prevVolume[1]; local
822 *out++ += (vr >> 16) * r;
825 vr += vrInc;
832 *out++ += (vr >> 16) * (*temp++ >> 12);
834 vr += vrInc;
838 t->prevVolume[1] = vr;
845 const int16_t vr = t->volume[1]; local
854 out[1] = mulAdd(r, vr, out[1]);
864 out[1] = mulAdd(r, vr, out[1]);
880 int32_t vr local
925 int32_t vr = t->prevVolume[1]; local
968 int32_t vr = t->prevVolume[1]; local
996 const int16_t vr = t->volume[1]; local
1011 int32_t vr = t->prevVolume[1]; local
1034 const int16_t vr = t->volume[1]; local
1272 const int16_t vr = t.volume[1]; local
[all...]
H A DAudioFlinger.cpp3163 uint32_t vl, vr, va; local
3166 vl = vr = va = 0;
3177 vr = vlr >> 16;
3183 if (vr > MAX_GAIN_INT) {
3184 ALOGV("Track right volume out of range: %04X", vr);
3185 vr = MAX_GAIN_INT;
3189 vr = (uint32_t)(v * vr) << 12;
3191 // vl and vr are now in 8.24 format
3202 if (chain != 0 && chain->setVolume_l(&vl, &vr)) {
3770 uint32_t vr = (uint32_t)(right * (1 << 24)); local
4818 uint32_t vr = vlr >> 16; local
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp519 LVM_INT32 vr = (LVM_INT32)pContext->prevRightVolume << 16; local
520 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount;
526 clamp16((LVM_INT32)((vr >> 16) * OutFrames16[2*i+1]) >> 12);
529 vr += incr;

Completed in 62 milliseconds