Lines Matching defs:gain
137 EAS_U16 gain;
141 /* calculate the gain multiplier */
149 gain = 32767;
151 gain = (EAS_U16) temp;
154 gain = (EAS_U16) pEASData->masterGain;
156 gain = (EAS_U16) pEASData->masterGain;
159 /* Not using all the gain bits for now
164 gain = gain >> 5;
166 gain = gain >> 4;
168 gain = gain >> 4;
173 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2));
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples);
279 /* apply master gain */
330 * gainLeft initial gain left or mono
331 * gainRight initial gain right
332 * gainLeft left gain increment per sample
333 * gainRight right gain increment per sample
352 * 5. Mono source to mono output - no gain change
353 * 6. Mono source to stereo output - no gain change
354 * 7. Stereo source to mono output - no gain change
355 * 8. Stereo source to stereo output - no gain change
358 * a gain calculation every 2 or 4 samples, etc.
361 /* no gain change, use fast loops */
412 /* gain change - do gain increment */