Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/mixer/
Dsimple.c248 return sm_selem_ops(elem)->is(elem, SM_PLAY, SM_OPS_IS_ACTIVE, 0); in snd_mixer_selem_is_active()
259 return sm_selem_ops(elem)->is(elem, SM_PLAY, SM_OPS_IS_MONO, 0); in snd_mixer_selem_is_playback_mono()
271 return sm_selem_ops(elem)->is(elem, SM_PLAY, SM_OPS_IS_CHANNEL, (int)channel); in snd_mixer_selem_has_playback_channel()
285 return sm_selem_ops(elem)->get_range(elem, SM_PLAY, min, max); in snd_mixer_selem_get_playback_volume_range()
299 return sm_selem_ops(elem)->get_dB_range(elem, SM_PLAY, min, max); in snd_mixer_selem_get_playback_dB_range()
314 return sm_selem_ops(elem)->set_range(elem, SM_PLAY, min, max); in snd_mixer_selem_set_playback_volume_range()
372 return sm_selem_ops(elem)->ask_vol_dB(elem, SM_PLAY, value, dBvalue); in snd_mixer_selem_ask_playback_vol_dB()
388 return sm_selem_ops(elem)->ask_dB_vol(elem, SM_PLAY, dBvalue, value, dir); in snd_mixer_selem_ask_playback_dB_vol()
402 return sm_selem_ops(elem)->get_volume(elem, SM_PLAY, channel, value); in snd_mixer_selem_get_playback_volume()
422 return sm_selem_ops(elem)->get_dB(elem, SM_PLAY, channel, value); in snd_mixer_selem_get_playback_dB()
[all …]
Dsimple_none.c330 memcpy(pvol, s->str[SM_PLAY].vol, sizeof(pvol)); in selem_read()
331 memset(&s->str[SM_PLAY].vol, 0, sizeof(s->str[SM_PLAY].vol)); in selem_read()
332 psw = s->str[SM_PLAY].sw; in selem_read()
333 s->str[SM_PLAY].sw = ~0U; in selem_read()
362 err = elem_read_volume(s, SM_PLAY, CTL_PLAYBACK_VOLUME); in selem_read()
364 err = elem_read_volume(s, SM_PLAY, CTL_GLOBAL_VOLUME); in selem_read()
367 err = elem_read_volume(s, SM_PLAY, CTL_SINGLE); in selem_read()
372 s->str[SM_PLAY].sw = 0; in selem_read()
376 err = elem_read_switch(s, SM_PLAY, CTL_PLAYBACK_SWITCH); in selem_read()
381 err = elem_read_switch(s, SM_PLAY, CTL_GLOBAL_SWITCH); in selem_read()
[all …]
/third_party/alsa-lib/include/
Dmixer_abst.h39 #define SM_PLAY 0 macro