Lines Matching refs:gain
128 * the current gain (0-255) and relative signal level (0-9999). The
129 * receiver folume control should be set so that the gain is somewhere
171 * monitoring of the input signal. For this purpose, the monitor gain is
214 #define AGAIN 6. /* baseband gain */
347 int gain; /* codec gain */
348 int mongain; /* codec monitor gain */
517 up->gain = 127;
659 * increase the gain a tad; if the clips are too high,
673 * Once each second ride gain.
683 * Set the input port and monitor gain for the next buffer.
1331 minset, up->gain, up->ident, dtemp, up->ntstamp);
1646 * chu_gain - adjust codec gain
1649 * amplitude is too low, the codec gain is bumped up by four units; if
1667 * gain control field. Thus, it may take awhile for changes to
1671 up->gain += 4;
1672 if (up->gain > MAXGAIN)
1673 up->gain = MAXGAIN;
1675 up->gain -= 4;
1676 if (up->gain < 0)
1677 up->gain = 0;
1679 audio_gain(up->gain, up->mongain, up->port);