Lines Matching defs:gain
149 * the audio driver is compiled, the current gain (0-255) and relative
151 * should be set so that the gain is somewhere near the middle of the
168 * agc audio gain (0 - 255)
184 * monitoring of the input signal. For this purpose, the monitor gain is
233 #define AGAIN 6. /* baseband gain */
358 int gain; /* codec gain (modem only) */
375 int mongain; /* codec monitor gain */
544 up->gain = 127;
681 * increase the gain a tad; if the clips are too high,
695 * Once each second ride gain.
704 * Set the input port and monitor gain for the next buffer.
1383 pp->second, leapchar, up->dst, up->dut, minset, up->gain,
1637 * chu_gain - adjust codec gain
1641 * there are no clips, the gain is bumped up; if there are more than
1659 * gain control field. Thus, it may take awhile for changes to
1663 up->gain += 4;
1664 if (up->gain > MAXGAIN)
1665 up->gain = MAXGAIN;
1667 up->gain -= 4;
1668 if (up->gain < 0)
1669 up->gain = 0;
1671 audio_gain(up->gain, up->mongain, up->port);