Lines Matching defs:buf
829 char buf[64];
839 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
840 pa_log_warn("Element %s seems to have disappeared.", buf);
865 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
867 "Volume reset to %0.2f dB.", buf, c,
872 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
874 "Volume reset to %0.2f dB.", buf, c,
895 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
897 "Volume reset to %0.2f dB.", buf, c,
902 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
904 "Volume reset to %0.2f dB.", buf, c,
1002 char buf[64];
1010 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1011 pa_log_warn("Element %s seems to have disappeared.", buf);
1165 char buf[64];
1176 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1177 pa_log_warn("Element %s seems to have disappeared.", buf);
1360 char buf[64];
1368 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1369 pa_log_warn("Element %s seems to have disappeared.", buf);
1379 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1380 pa_log_warn("Failed to set switch of %s: %s", buf, pa_alsa_strerror(errno));
1416 char buf[64];
1423 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1424 pa_log_warn("Element %s seems to have disappeared.", buf);
1468 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1469 pa_log_warn("Failed to set volume of %s: %s", buf, pa_alsa_strerror(errno));
1648 char buf[64];
1674 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1675 pa_log_warn("Failed to get volume range of %s: %s", buf, pa_alsa_strerror(r));
1680 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1682 buf, e->min_volume, e->max_volume);
1686 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1688 e->constant_volume, buf, e->min_volume, e->max_volume);
1694 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1696 "real hardware range (%li-%li). Disabling the decibel fix.", buf,
1716 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1718 "Disabling the decibel range.", buf, min_dB, max_dB);
1729 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1730 pa_log_warn("Failed to query the dB value for %s at volume level %li", buf, e->min_volume);
1735 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1736 pa_log_warn("Failed to query the dB value for %s at volume level %li", buf, e->max_volume);
1741 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1744 "%0.2f dB at level %li.", buf, min_dB / 100.0, max_dB / 100.0,
1764 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1767 buf, e->path->name, e->volume_limit, e->min_volume + 1, e->max_volume);
1776 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1777 pa_log_warn("Failed to get dB value of %s: %s", buf, pa_alsa_strerror(r));
1821 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1822 pa_log_warn("Volume element %s with no channels?", buf);
1836 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
1837 pa_log_warn("Volume element %s has %u channels. That's too much! I can't handle that!", buf, e->n_channels);
1946 char buf[128];
1948 if (snd_mixer_selem_get_enum_item_name(me, i, sizeof(buf), buf) < 0)
1951 if (!pa_streq(buf, o->alsa_name))
2656 char buf[64];
2664 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
2665 pa_log_warn("Element %s seems to have disappeared.", buf);
2677 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
2678 pa_log_warn("Failed to set switch of %s: %s", buf, pa_alsa_strerror(errno));
2685 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
2686 pa_log_warn("Failed to set enumeration of %s: %s", buf, pa_alsa_strerror(errno));
2731 char buf[64];
2742 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &o->element->alsa_id);
2743 pa_log("Element %s of option %s not set for select.", buf, o->name);
2750 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &o->element->alsa_id);
2751 pa_log("Switch %s options need be named off or on ", buf);
2767 char buf[64];
2776 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
2777 pa_log("Element %s cannot be required and absent at the same time.", buf);
2782 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
2783 pa_log("Element %s cannot set select for both switch and enumeration.", buf);
3173 char buf[64];
3188 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &j->alsa_id);
3191 pa_log_debug("Probe of jack %s failed.", buf);
3194 pa_log_debug("Probe of jack %s succeeded (%s)", buf, j->has_control ? "found!" : "not found");
3198 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
3201 pa_log_debug("Probe of element %s failed.", buf);
3204 pa_log_debug("Probe of element %s succeeded (volume=%d, switch=%d, enumeration=%d, has_dB=%d).", buf, e->volume_use, e->switch_use, e->enumeration_use, e->has_dB);
3240 pa_log_info("Zeroing volume of %s on path '%s'", buf, p->name);
3246 pa_log_info("Ignoring volume of %s on path '%s' (missing dB info)", buf, p->name);
3322 char buf[64];
3327 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
3329 buf,
3379 char buf[64];
3387 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id);
3388 pa_log_warn("Element %s seems to have disappeared.", buf);
3642 char buf[64];
3683 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &a->alsa_id);
3684 pa_log_warn("Element %s seems to have disappeared.", buf);
3714 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &a->alsa_id);
3716 buf, a->masks[s][a->n_channels-1], b->masks[s][b->n_channels-1], s);
4903 pa_strbuf *buf;
4909 buf = pa_strbuf_new();
4911 pa_strbuf_printf(buf, "[%li]:%0.2f ", i + db_fix->min_step, db_fix->db_values[i] / 100.0);
4913 db_values = pa_strbuf_to_string_free(buf);
5079 char buf[PA_CHANNEL_MAP_SNPRINT_MAX];
5081 pa_channel_map_snprint(buf, sizeof(buf), &try_map));