Lines Matching defs:dir
378 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
379 * rounds down if dir < 0
383 int snd_mixer_selem_ask_playback_dB_vol(snd_mixer_elem_t *elem, long dBvalue, int dir, long *value)
387 return sm_selem_ops(elem)->ask_dB_vol(elem, SM_PLAY, dBvalue, value, dir);
457 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
458 * rounds down if dir < 0
461 int snd_mixer_selem_set_playback_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value, int dir)
465 return sm_selem_ops(elem)->set_dB(elem, SM_PLAY, channel, value, dir);
495 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
496 * rounds down if dir < 0
499 int snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t *elem, long value, int dir)
507 err = snd_mixer_selem_set_playback_dB(elem, chn, value, dir);
711 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
712 * rounds down if dir < 0
715 int snd_mixer_selem_ask_capture_dB_vol(snd_mixer_elem_t *elem, long dBvalue, int dir, long *value)
719 return sm_selem_ops(elem)->ask_dB_vol(elem, SM_CAPT, dBvalue, value, dir);
783 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
784 * rounds down if dir < 0
787 int snd_mixer_selem_set_capture_dB(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, long value, int dir)
791 return sm_selem_ops(elem)->set_dB(elem, SM_CAPT, channel, value, dir);
821 * \param dir rounding mode - rounds up if dir > 0, round to nearest if dir == 0,
822 * rounds down if dir < 0
825 int snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t *elem, long value, int dir)
833 err = snd_mixer_selem_set_capture_dB(elem, chn, value, dir);