Home | History | Annotate | Download | only in itf

Lines Matching full:gain

34 /** \brief Summary of the gain, as an optimization for the mixer */
216 float gain = track->mGains[channel];
217 gains[channel] = gain;
219 if (gain <= 0.001) {
221 } else if (gain >= 0.999) {
241 // apply gain during add
247 // no gain adjustment needed, so do a simple add
255 // apply gain during copy
261 // no gain adjustment needed, so do a simple copy
426 /** \brief Called when a gain-related field (mute, solo, volume, stereo position, etc.) updated */
447 float gain;
449 gain = 0.0f;
451 gain = playerGain;
456 gain *= (1000 - stereoPosition) / 1000.0f;
461 gain *= (1000 + stereoPosition) / 1000.0f;
470 audioPlayer->mGains[channel] = gain;