• 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()
1715 if (e->has_dB && max_dB < 0 && !e->db_fix) { in element_probe_volume()
1718 "Disabling the decibel range.", buf, min_dB, max_dB); in element_probe_volume()
1740 if (min_dB != min_dB_checked || max_dB != max_dB_checked) { in element_probe_volume()
1744 "%0.2f dB at level %li.", buf, min_dB / 100.0, max_dB / 100.0, in element_probe_volume()
1752 e->max_dB = ((double) max_dB) / 100.0; in element_probe_volume()
1754 if (min_dB >= max_dB) { in element_probe_volume()
1757 e->min_dB, e->max_dB); in element_probe_volume()
1774 … 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()
1775 } else if (element_ask_vol_dB(me, e->direction, e->max_volume, &max_dB) < 0) { in element_probe_volume()
1780 e->max_dB = ((double) max_dB) / 100.0; in element_probe_volume()
3169 double min_dB[PA_CHANNEL_POSITION_MAX], max_dB[PA_CHANNEL_POSITION_MAX]; in pa_alsa_path_probe() local
3183 pa_zero(max_dB); in pa_alsa_path_probe()
3221 max_dB[t] = e->max_dB; in pa_alsa_path_probe()
3232 max_dB[t] += e->max_dB; in pa_alsa_path_probe()
3269 p->max_dB = -INFINITY; in pa_alsa_path_probe()
3279 if (p->max_dB < max_dB[t]) { in pa_alsa_path_probe()
3280 p->max_dB = max_dB[t]; in pa_alsa_path_probe()
3290 p->max_dB = 0; in pa_alsa_path_probe()
3364 p->min_dB, p->max_dB); in pa_alsa_path_dump()