Searched refs:db_gain (Results 1 – 4 of 4) sorted by relevance
/third_party/alsa-lib/src/control/ |
D | tlv.c | 202 long volume, long *db_gain) in snd_tlv_convert_to_dB() argument 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 = mindb; in snd_tlv_convert_to_dB() 259 *db_gain = maxdb; in snd_tlv_convert_to_dB() [all …]
|
/third_party/alsa-lib/include/ |
D | control.h | 677 long volume, long *db_gain); 679 long db_gain, long *value, int xdir); 683 long volume, long *db_gain); 685 long db_gain, long *value, int xdir);
|
/third_party/alsa-lib/src/mixer/ |
D | simple_none.c | 1100 long volume, long *db_gain) in convert_to_dB() argument 1105 volume, db_gain); in convert_to_dB() 1193 long db_gain, long *value, int xdir) in convert_from_dB() argument 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() argument 1294 err = convert_from_dB(c->elem, &s->str[dir], db_gain, &value, xdir); in set_dB_ops()
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 381 long db_gain, int xdir) in set_dB_ops() argument 389 PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong(db_gain)); in set_dB_ops()
|