Lines Matching defs:aux

835 inline void AudioMixer::track_t::adjustVolumeRamp(bool aux, bool useFloat)
864 /* TODO: aux is always integer regardless of output buffer type */
865 if (aux) {
873 //ALOGV("aux ramp: %d %d %d", auxLevel << 16, prevAuxLevel, auxInc);
1080 int32_t* temp, int32_t* aux)
1086 if (aux != NULL) {
1093 volumeRampStereo(t, out, outFrameCount, temp, aux);
1095 volumeStereo(t, out, outFrameCount, temp, aux);
1102 volumeRampStereo(t, out, outFrameCount, temp, aux);
1114 size_t outFrameCount __unused, int32_t* temp __unused, int32_t* aux __unused)
1119 int32_t* aux)
1131 if (CC_UNLIKELY(aux != NULL)) {
1142 *aux++ += (va >> 17) * (l + r);
1158 t->adjustVolumeRamp(aux != NULL);
1162 int32_t* aux)
1167 if (CC_UNLIKELY(aux != NULL)) {
1176 aux[0] = mulAdd(a, va, aux[0]);
1177 aux++;
1191 int32_t* temp __unused, int32_t* aux)
1196 if (CC_UNLIKELY(aux != NULL)) {
1216 *aux++ += (va >> 17) * (l + r);
1239 aux[0] = mulAdd(a, va, aux[0]);
1240 aux++;
1283 int32_t* temp __unused, int32_t* aux)
1288 if (CC_UNLIKELY(aux != NULL)) {
1306 *aux++ += (va >> 16) * l;
1327 aux[0] = mulAdd(l, va, aux[0]);
1328 aux++;
1462 int32_t *aux = NULL;
1464 aux = t.auxBuffer + numFrames;
1477 inFrames, state->resampleTemp, aux);
1480 if (CC_UNLIKELY(aux != NULL)) {
1481 aux += inFrames;
1552 int32_t *aux = NULL;
1554 aux = t.auxBuffer;
1561 t.hook(&t, outTemp, numFrames, state->resampleTemp, aux);
1574 if (CC_UNLIKELY(aux != NULL)) {
1575 aux += outFrames;
1578 state->resampleTemp, aux);
1702 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc)
1706 volumeRampMulti<MIXTYPE, 1>(out, frameCount, in, aux, vol, volinc, vola, volainc);
1709 volumeRampMulti<MIXTYPE, 2>(out, frameCount, in, aux, vol, volinc, vola, volainc);
1713 frameCount, in, aux, vol, volinc, vola, volainc);
1717 frameCount, in, aux, vol, volinc, vola, volainc);
1721 frameCount, in, aux, vol, volinc, vola, volainc);
1725 frameCount, in, aux, vol, volinc, vola, volainc);
1729 frameCount, in, aux, vol, volinc, vola, volainc);
1733 frameCount, in, aux, vol, volinc, vola, volainc);
1746 const TI* in, TA* aux, const TV *vol, TAV vola)
1750 volumeMulti<MIXTYPE, 1>(out, frameCount, in, aux, vol, vola);
1753 volumeMulti<MIXTYPE, 2>(out, frameCount, in, aux, vol, vola);
1756 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 3>(out, frameCount, in, aux, vol, vola);
1759 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 4>(out, frameCount, in, aux, vol, vola);
1762 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 5>(out, frameCount, in, aux, vol, vola);
1765 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 6>(out, frameCount, in, aux, vol, vola);
1768 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 7>(out, frameCount, in, aux, vol, vola);
1771 volumeMulti<MIXTYPE_MONOVOL(MIXTYPE), 8>(out, frameCount, in, aux, vol, vola);
1786 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t)
1790 volumeRampMulti<MIXTYPE>(t->mMixerChannelCount, out, outFrames, in, aux,
1793 t->adjustVolumeRamp(aux != NULL, true);
1796 volumeMulti<MIXTYPE>(t->mMixerChannelCount, out, outFrames, in, aux,
1801 volumeRampMulti<MIXTYPE>(t->mMixerChannelCount, out, outFrames, in, aux,
1804 t->adjustVolumeRamp(aux != NULL);
1807 volumeMulti<MIXTYPE>(t->mMixerChannelCount, out, outFrames, in, aux,
1814 * aux buffer, volume ramp, or resampling.
1815 * TODO: Update the hook selection: this can properly handle aux and ramp.
1832 TA* aux = reinterpret_cast<TA*>(t->auxBuffer);
1855 out, outFrames, in, aux, ramp, t);
1858 if (aux != NULL) {
1859 aux += channels;
1867 t->adjustVolumeRamp(aux != NULL, is_same<TI, float>::value);
1880 void AudioMixer::track__Resample(track_t* t, TO* out, size_t outFrameCount, TO* temp, TA* aux)
1885 if (ramp || aux != NULL) {
1887 // if aux != NULL: resample with unity gain to temp buffer then apply send level.
1894 out, outFrameCount, temp, aux, ramp, t);
1912 TO* temp __unused, TA* aux)
1918 out, frameCount, in, aux, t->needsRamp(), t);