Home
last modified time | relevance | path

Searched refs:AUDIO_MAX_GAIN (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Daudioio.h130 #define AUDIO_MAX_GAIN (255) /* maximum gain value */ macro
131 #define AUDIO_MID_GAIN (AUDIO_MAX_GAIN / 2)
/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c263 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()
/titanic_41/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c225 x = ((unsigned)(*valp * (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN))) + in audio__setgain()
234 (AUDIO_MAX_GAIN - AUDIO_MIN_GAIN)); in audio__setgain()