Lines Matching defs:in
6 ** you may not use this file except in compliance with the License.
11 ** Unless required by applicable law or agreed to in writing, software
34 // Note: the following macro is used for extremely verbose logging message. In
121 // first non destroyed handle is considered in control
129 // if inserted in first place, move effect control from previous owner to this handle
141 ALOGV("addHandle() %p added handle %p in position %zu", this, handle, i);
159 ALOGV("removeHandle() %p removed handle %p in position %zu", this, handle, i);
162 // if removed from first place, move effect control from this handle to next in line
183 // the first valid handle in the list has control over the module
284 // do the actual processing in the effect engine
291 int16_t *in = mConfig.inputCfg.buffer.s16;
296 out[i] = clamp16((int32_t)out[i] + (int32_t)in[i]);
322 int16_t *in = mConfig.inputCfg.buffer.s16;
325 out[i] = clamp16((int32_t)out[i] + (int32_t)in[i]);
386 // - in session AUDIO_SESSION_OUTPUT_MIX or AUDIO_SESSION_OUTPUT_STAGE,
388 // - in other sessions:
389 // last effect in the chain accumulates in output buffer: input buffer != output buffer
392 // accumulates in output buffer: input buffer != output buffer
1281 // No need to trylock() here as this function is executed in the binder thread serving a
1478 // TODO: This will change in the future, depending on multichannel
1551 // they are processed first and accumulated in chain input buffer
1554 // the input buffer for auxiliary effect contains mono samples in
1555 // 32 bit format. This is to avoid saturation in AudoMixer
1556 // accumulation stage. Saturation is done in EffectModule::process() before
1557 // calling the process in effect engine
1569 // if EFFECT_FLAG_INSERT_EXCLUSIVE, insert in first position or reject if
1571 // else if EFFECT_FLAG_INSERT_FIRST, insert in first position or after the
1573 // else if EFFECT_FLAG_INSERT_LAST, insert in last position or before the
1631 // if last effect in the chain, output samples to chain
1644 ALOGV("addEffect_l() effect %p, added in chain %p at rank %zu", effect.get(), this,
1661 // This is safe as we hold the EffectChain mutex which guarantees that we are not in
1750 // then indicate volume to all other effects in chain.