Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/mixer/
Dsimple.c564 return sm_selem_ops(elem)->is(elem, SM_CAPT, SM_OPS_IS_MONO, 0); in snd_mixer_selem_is_capture_mono()
577 return sm_selem_ops(elem)->is(elem, SM_CAPT, SM_OPS_IS_CHANNEL, channel); in snd_mixer_selem_has_capture_channel()
591 return sm_selem_ops(elem)->get_range(elem, SM_CAPT, min, max); in snd_mixer_selem_get_capture_volume_range()
605 return sm_selem_ops(elem)->get_dB_range(elem, SM_CAPT, min, max); in snd_mixer_selem_get_capture_dB_range()
620 return sm_selem_ops(elem)->set_range(elem, SM_CAPT, min, max); in snd_mixer_selem_set_capture_volume_range()
704 return sm_selem_ops(elem)->ask_vol_dB(elem, SM_CAPT, value, dBvalue); in snd_mixer_selem_ask_capture_vol_dB()
720 return sm_selem_ops(elem)->ask_dB_vol(elem, SM_CAPT, dBvalue, value, dir); in snd_mixer_selem_ask_capture_dB_vol()
734 return sm_selem_ops(elem)->get_volume(elem, SM_CAPT, channel, value); in snd_mixer_selem_get_capture_volume()
748 return sm_selem_ops(elem)->get_dB(elem, SM_CAPT, channel, value); in snd_mixer_selem_get_capture_dB()
762 return sm_selem_ops(elem)->get_switch(elem, SM_CAPT, channel, value); in snd_mixer_selem_get_capture_switch()
[all …]
Dsimple_none.c334 memcpy(cvol, s->str[SM_CAPT].vol, sizeof(cvol)); in selem_read()
335 memset(&s->str[SM_CAPT].vol, 0, sizeof(s->str[SM_CAPT].vol)); in selem_read()
336 csw = s->str[SM_CAPT].sw; in selem_read()
337 s->str[SM_CAPT].sw = ~0U; in selem_read()
404 err = elem_read_volume(s, SM_CAPT, CTL_CAPTURE_VOLUME); in selem_read()
406 err = elem_read_volume(s, SM_CAPT, CTL_GLOBAL_VOLUME); in selem_read()
409 err = elem_read_volume(s, SM_CAPT, CTL_SINGLE); in selem_read()
414 s->str[SM_CAPT].sw = 0; in selem_read()
418 err = elem_read_switch(s, SM_CAPT, CTL_CAPTURE_SWITCH); in selem_read()
423 err = elem_read_switch(s, SM_CAPT, CTL_GLOBAL_SWITCH); in selem_read()
[all …]
/third_party/alsa-lib/include/
Dmixer_abst.h40 #define SM_CAPT 1 macro