Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c1111 …a_dB(snd_mixer_elem_t *me, snd_mixer_selem_channel_id_t c, pa_alsa_direction_t d, long *value_dB) { in element_get_nearest_alsa_dB() argument
1119 pa_assert(value_dB); in element_get_nearest_alsa_dB()
1122 if ((r = snd_mixer_selem_ask_playback_dB_vol(me, *value_dB, +1, &alsa_val)) >= 0) in element_get_nearest_alsa_dB()
1128 if (value_high == *value_dB) in element_get_nearest_alsa_dB()
1131 if ((r = snd_mixer_selem_ask_playback_dB_vol(me, *value_dB, -1, &alsa_val)) >= 0) in element_get_nearest_alsa_dB()
1134 if ((r = snd_mixer_selem_ask_capture_dB_vol(me, *value_dB, +1, &alsa_val)) >= 0) in element_get_nearest_alsa_dB()
1140 if (value_high == *value_dB) in element_get_nearest_alsa_dB()
1143 if ((r = snd_mixer_selem_ask_capture_dB_vol(me, *value_dB, -1, &alsa_val)) >= 0) in element_get_nearest_alsa_dB()
1150 if (labs(value_high - *value_dB) < labs(value_low - *value_dB)) in element_get_nearest_alsa_dB()
1151 *value_dB = value_high; in element_get_nearest_alsa_dB()
[all …]