• Home
  • Raw
  • Download

Lines Matching refs:max_dB

1206             if (e->volume_limit >= 0 && value > (e->max_dB * 100))  in element_set_volume()
1207 value = e->max_dB * 100; in element_set_volume()
1644 long min_dB = 0, max_dB = 0; in element_probe_volume() local
1708 max_dB = e->db_fix->db_values[e->db_fix->max_step - e->db_fix->min_step]; 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()
1732 if (min_dB != min_dB_checked || max_dB != max_dB_checked) { in element_probe_volume()
1736 "%0.2f dB at level %li.", buf, min_dB / 100.0, max_dB / 100.0, in element_probe_volume()
1744 e->max_dB = ((double) max_dB) / 100.0; in element_probe_volume()
1746 if (min_dB >= max_dB) { in element_probe_volume()
1749 e->min_dB, e->max_dB); in element_probe_volume()
1766 … e->max_dB = ((double) e->db_fix->db_values[e->db_fix->max_step - e->db_fix->min_step]) / 100.0; in element_probe_volume()
1767 } else if (element_ask_vol_dB(me, e->direction, e->max_volume, &max_dB) < 0) { in element_probe_volume()
1772 e->max_dB = ((double) max_dB) / 100.0; in element_probe_volume()
3106 double min_dB[PA_CHANNEL_POSITION_MAX], max_dB[PA_CHANNEL_POSITION_MAX]; in pa_alsa_path_probe() local
3120 pa_zero(max_dB); in pa_alsa_path_probe()
3158 max_dB[t] = e->max_dB; in pa_alsa_path_probe()
3169 max_dB[t] += e->max_dB; in pa_alsa_path_probe()
3206 p->max_dB = -INFINITY; in pa_alsa_path_probe()
3216 if (p->max_dB < max_dB[t]) { in pa_alsa_path_probe()
3217 p->max_dB = max_dB[t]; in pa_alsa_path_probe()
3227 p->max_dB = 0; in pa_alsa_path_probe()
3301 p->min_dB, p->max_dB); in pa_alsa_path_dump()