Lines Matching refs:dB
860 * by the dB fix, we clamp the hw volume to be
866 pa_log_debug("Playback volume for element %s channel %i was below the dB fix limit. "
867 "Volume reset to %0.2f dB.", buf, c,
873 pa_log_debug("Playback volume for element %s channel %i was over the dB fix limit. "
874 "Volume reset to %0.2f dB.", buf, c,
878 /* Volume step -> dB value conversion. */
890 * by the dB fix, we clamp the hw volume to be
896 pa_log_debug("Capture volume for element %s channel %i was below the dB fix limit. "
897 "Volume reset to %0.2f dB.", buf, c,
903 pa_log_debug("Capture volume for element %s channel %i was over the dB fix limit. "
904 "Volume reset to %0.2f dB.", buf, c,
908 /* Volume step -> dB value conversion. */
986 /* If we have no dB information all we can do is take the first element and leave */
1108 * But even with accurate nearest dB volume step is not selected, so that is why we need
1408 * function sets all channels of the volume element to e->min_volume, 0 dB or
1436 long dB = 0;
1438 volume = decibel_fix_get_step(e->db_fix, &dB, (e->direction == PA_ALSA_DIRECTION_OUTPUT ? +1 : -1));
1717 pa_log_warn("The decibel volume range for element %s (%li dB - %li dB) has negative maximum. "
1730 pa_log_warn("Failed to query the dB value for %s at volume level %li", buf, e->min_volume);
1736 pa_log_warn("Failed to query the dB value for %s at volume level %li", buf, e->max_volume);
1742 pa_log_warn("Your kernel driver is broken: the reported dB range for %s (from %0.2f dB to %0.2f dB) "
1743 "doesn't match the dB values at minimum and maximum volume levels: %0.2f dB at level %li, "
1744 "%0.2f dB at level %li.", buf, min_dB / 100.0, max_dB / 100.0,
1756 pa_log_warn("Your kernel driver is broken: it reports a volume range from %0.2f dB to %0.2f dB which makes no sense.",
1777 pa_log_warn("Failed to get dB value of %s: %s", buf, pa_alsa_strerror(r));
3237 * which cannot do dB volumes, so we we need
3246 pa_log_info("Ignoring volume of %s on path '%s' (missing dB info)", buf, p->name);
3569 /* The profile set that contains the dB fix may be freed
3570 * before the element, so we have to copy the dB fix
3672 long dB = 0;
3676 a_limit = decibel_fix_get_step(a->db_fix, &dB, rounding);
3689 if (snd_mixer_selem_ask_playback_dB_vol(me, dB, +1, &a_limit) < 0)
3692 if (snd_mixer_selem_ask_capture_dB_vol(me, dB, -1, &a_limit) < 0)
4363 char *d = item; /* dB value string. */
4378 pa_log("[%s:%u] No dB value found in %s", state->filename, state->lineno, item);
4392 pa_log("[%s:%u] Invalid dB value: %s", state->filename, state->lineno, d);
4884 /* Check that the dB mapping has been configured. Since "db-values" is
4890 pa_log("Decibel fix for element %s lacks the dB values.", db_fix->name);