Home
last modified time | relevance | path

Searched refs:SM_CAP_CSWITCH (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-lib/src/mixer/
Dsimple.c563 CHECK_DIR(elem, SM_CAP_CVOLUME|SM_CAP_CSWITCH); in snd_mixer_selem_is_capture_mono()
576 CHECK_DIR(elem, SM_CAP_CVOLUME|SM_CAP_CSWITCH); in snd_mixer_selem_has_capture_channel()
653 return COND_CAPS(elem, SM_CAP_CSWITCH); in snd_mixer_selem_has_capture_switch()
761 CHECK_DIR_CHN(elem, SM_CAP_CSWITCH, SM_CAP_CSWITCH_JOIN, channel); in snd_mixer_selem_get_capture_switch()
853 CHECK_DIR_CHN(elem, SM_CAP_CSWITCH, SM_CAP_CSWITCH_JOIN, channel); in snd_mixer_selem_set_capture_switch()
Dsimple_none.c413 if ((s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH)) == 0) { in selem_read()
748 caps |= SM_CAP_CSWITCH; in simple_update()
755 caps |= SM_CAP_CSWITCH; in simple_update()
784 caps |= SM_CAP_CSWITCH | SM_CAP_CSWITCH_EXCL; in simple_update()
813 if (caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH)) in simple_update()
861 if ((caps & (SM_CAP_GSWITCH|SM_CAP_PSWITCH|SM_CAP_CSWITCH)) && in simple_update()
862 (caps & (SM_CAP_GSWITCH|SM_CAP_PSWITCH|SM_CAP_CSWITCH)) == (caps & SM_CAP_GSWITCH)) { in simple_update()
868 (caps & (SM_CAP_PSWITCH|SM_CAP_CSWITCH)) == 0) in simple_update()
869 caps |= SM_CAP_PSWITCH|SM_CAP_CSWITCH; in simple_update()
1311 if (! (s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH))) in set_switch_ops()
/third_party/alsa-lib/include/
Dmixer_abst.h50 #define SM_CAP_CSWITCH (1<<9) macro
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c672 {"CAP_CSWITCH", (getter)pymelem_cap, NULL, NULL, (void *)SM_CAP_CSWITCH},