Lines Matching defs:gain
103 // apply old gains and sources, overriding the 1.0 gain defaults for the old channels
114 // also copy the old gain cache
125 TRACE("UpdateOutputChannels: output channel %d, type %2d, gain %.3f\n", i, fOutputChannelInfo[i].channel_type, fOutputChannelInfo[i].channel_gain);
321 MixerOutput::SetOutputChannelGain(int channel, float gain)
323 TRACE("SetOutputChannelGain chan %d, gain %.5f\n", channel, gain);
326 fOutputChannelInfo[channel].channel_gain = gain;
343 // when adding a new source, use the current gain value from cache
358 // when removing a source, save the current gain value into the cache
375 // set gain for active source
382 // we don't have an active source of that type, save gain in cache
394 // get gain for active source
400 // we don't have an active source of that type, get gain from cache