Searched refs:has_dB (Results 1 – 4 of 4) sorted by relevance
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-mixer.h | 162 bool has_dB:1; member 230 bool has_dB:1; member
|
D | alsa-mixer.c | 852 if (e->has_dB) { in element_get_volume() 981 pa_assert(!p->has_dB || e->has_dB); in pa_alsa_path_get_volume() 987 if (!p->has_dB) { in pa_alsa_path_get_volume() 1202 if (e->has_dB) { in element_set_volume() 1339 pa_assert(!p->has_dB || e->has_dB); in pa_alsa_path_set_volume() 1345 if (!p->has_dB) { in pa_alsa_path_set_volume() 1704 e->has_dB = true; in element_probe_volume() 1710 e->has_dB = snd_mixer_selem_get_playback_dB_range(me, &min_dB, &max_dB) >= 0; in element_probe_volume() 1712 e->has_dB = snd_mixer_selem_get_capture_dB_range(me, &min_dB, &max_dB) >= 0; in element_probe_volume() 1716 if (e->has_dB && !e->db_fix) { in element_probe_volume() [all …]
|
D | alsa-source.c | 1351 …olume_snprint_verbose(volume_buf, sizeof(volume_buf), &r, &s->channel_map, u->mixer_path->has_dB)); in source_get_volume_cb() 1359 if (u->mixer_path->has_dB) in source_get_volume_cb() 1384 if (u->mixer_path->has_dB) { in source_set_volume_cb() 1496 if (u->mixer_path->has_dB && u->deferred_volume) { in mixer_volume_init() 1502 if (u->mixer_path->has_dB) { in mixer_volume_init() 1518 …pa_log_info("Using hardware volume control. Hardware dB scale %s.", u->mixer_path->has_dB ? "suppo… in mixer_volume_init()
|
D | alsa-sink.c | 1480 …olume_snprint_verbose(volume_buf, sizeof(volume_buf), &r, &s->channel_map, u->mixer_path->has_dB)); in sink_get_volume_cb() 1488 if (u->mixer_path->has_dB) in sink_get_volume_cb() 1513 if (u->mixer_path->has_dB) { in sink_set_volume_cb() 1625 if (u->mixer_path->has_dB && u->deferred_volume) { in mixer_volume_init() 1631 if (u->mixer_path->has_dB) { in mixer_volume_init() 1647 …pa_log_info("Using hardware volume control. Hardware dB scale %s.", u->mixer_path->has_dB ? "suppo… in mixer_volume_init()
|