Home
last modified time | relevance | path

Searched refs:db_gain (Results 1 - 4 of 4) sorted by relevance

/third_party/alsa-lib/src/control/
H A Dtlv.c198 * \param db_gain the dB gain (in 0.01dB unit)
202 long volume, long *db_gain) in snd_tlv_convert_to_dB()
219 volume, db_gain); in snd_tlv_convert_to_dB()
230 *db_gain = SND_CTL_TLV_DB_GAIN_MUTE; in snd_tlv_convert_to_dB()
232 *db_gain = (volume - rangemin) * step + min; in snd_tlv_convert_to_dB()
242 *db_gain = SND_CTL_TLV_DB_GAIN_MUTE; in snd_tlv_convert_to_dB()
244 *db_gain = mindb; in snd_tlv_convert_to_dB()
246 *db_gain = maxdb; in snd_tlv_convert_to_dB()
248 *db_gain = (maxdb - mindb) * (volume - rangemin) / in snd_tlv_convert_to_dB()
257 *db_gain in snd_tlv_convert_to_dB()
201 snd_tlv_convert_to_dB(unsigned int *tlv, long rangemin, long rangemax, long volume, long *db_gain) snd_tlv_convert_to_dB() argument
293 snd_tlv_convert_from_dB(unsigned int *tlv, long rangemin, long rangemax, long db_gain, long *value, int xdir) snd_tlv_convert_from_dB() argument
476 snd_ctl_convert_to_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, long volume, long *db_gain) snd_ctl_convert_to_dB() argument
499 snd_ctl_convert_from_dB(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, long db_gain, long *value, int xdir) snd_ctl_convert_from_dB() argument
[all...]
/third_party/alsa-lib/include/
H A Dcontrol.h681 long volume, long *db_gain);
683 long db_gain, long *value, int xdir);
687 long volume, long *db_gain);
689 long db_gain, long *value, int xdir);
/third_party/alsa-lib/src/mixer/
H A Dsimple_none.c1099 long volume, long *db_gain) in convert_to_dB()
1104 volume, db_gain); in convert_to_dB()
1193 long db_gain, long *value, int xdir) in convert_from_dB()
1199 db_gain, value, xdir); in convert_from_dB()
1225 long volume, db_gain; in get_dB_ops() local
1234 if ((err = convert_to_dB(c->elem, &s->str[dir], volume, &db_gain)) < 0) in get_dB_ops()
1237 *value = db_gain; in get_dB_ops()
1282 long db_gain, int xdir) in set_dB_ops()
1294 err = convert_from_dB(c->elem, &s->str[dir], db_gain, &value, xdir); in set_dB_ops()
1098 convert_to_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, long volume, long *db_gain) convert_to_dB() argument
1192 convert_from_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, long db_gain, long *value, int xdir) convert_from_dB() argument
1280 set_dB_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long db_gain, int xdir) set_dB_ops() argument
/third_party/alsa-lib/modules/mixer/simple/
H A Dpython.c381 long db_gain, int xdir) in set_dB_ops()
389 PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong(db_gain)); in set_dB_ops()
379 set_dB_ops(snd_mixer_elem_t *elem, int dir, snd_mixer_selem_channel_id_t channel, long db_gain, int xdir) set_dB_ops() argument

Completed in 7 milliseconds