Searched refs:AUDIO_MAX_GAIN (Results 1 – 3 of 3) sorted by relevance
130 #define AUDIO_MAX_GAIN (255) /* maximum gain value */ macro131 #define AUDIO_MID_GAIN (AUDIO_MAX_GAIN / 2)
263 prinfo->gain = AUDIO_MAX_GAIN; in devaudio_proc_alloc()284 prinfo->gain = AUDIO_MAX_GAIN; in devaudio_proc_alloc()410 auclnt_set_gain(sp, ((play->gain * 100) / AUDIO_MAX_GAIN)); in devaudio_proc_hold()432 auclnt_set_gain(sp, ((rec->gain * 100) / AUDIO_MAX_GAIN)); in devaudio_proc_hold()585 (auclnt_get_gain(sp) * AUDIO_MAX_GAIN) / 100; in devaudio_proc_update()609 (auclnt_get_gain(sp) * AUDIO_MAX_GAIN) / 100; in devaudio_proc_update()748 if (npr->gain > AUDIO_MAX_GAIN) { in devaudio_ioc_setinfo()800 if (npr->gain > AUDIO_MAX_GAIN) { in devaudio_ioc_setinfo()856 auclnt_set_gain(sp, (npr->gain * 100) / AUDIO_MAX_GAIN); in devaudio_ioc_setinfo()920 auclnt_set_gain(sp, (npr->gain * 100) / AUDIO_MAX_GAIN); in devaudio_ioc_setinfo()
225 x = ((unsigned)(*valp * (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN))) + in audio__setgain()234 (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN)); in audio__setgain()