Searched refs:vol_ops (Results 1 - 1 of 1) sorted by relevance
/third_party/alsa-utils/amixer/ |
H A D | amixer.c | 300 static const struct volume_ops_set vol_ops[2] = { variable 342 if (! vol_ops[dir].has_volume(elem)) in set_volume_simple() 372 if (vol_ops[dir].v[vol_type].get_range(elem, &pmin, &pmax) < 0) in set_volume_simple() 378 if (vol_ops[dir].v[vol_type].get(elem, chn, &orig) < 0) in set_volume_simple() 396 err = vol_ops[dir].v[vol_type].set(elem, chn, val, correct); in set_volume_simple() 759 vol_ops[dir].v[VOL_RAW].get(elem, chn, &raw); in show_selem_volume() 763 vol_ops[dir].v[std_vol_type].get(elem, chn, &val); in show_selem_volume() 767 if (!vol_ops[dir].v[VOL_DB].get(elem, chn, &val)) { in show_selem_volume()
|
Completed in 3 milliseconds