[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] daemon-conf: fix printing avoid-resampling in pa_daemon_conf_dump()
Tanu Kaskinen
gitlab at gitlab.freedesktop.org
Tue Oct 23 16:07:57 UTC 2018
Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio
Commits:
fa2a7534 by Tanu Kaskinen at 2018-10-23T15:35:09Z
daemon-conf: fix printing avoid-resampling in pa_daemon_conf_dump()
The bool was inverted for some reason - maybe because the next line
prints enable-remixing that needs to be inverted from disable_remixing,
and somehow this logic was accidentally copied to the avoid-resampling
handling.
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/568
- - - - -
1 changed file:
- src/daemon/daemon-conf.c
Changes:
=====================================
src/daemon/daemon-conf.c
=====================================
@@ -756,7 +756,7 @@ char *pa_daemon_conf_dump(pa_daemon_conf *c) {
pa_strbuf_printf(s, "log-target = %s\n", pa_strempty(log_target));
pa_strbuf_printf(s, "log-level = %s\n", log_level_to_string[c->log_level]);
pa_strbuf_printf(s, "resample-method = %s\n", pa_resample_method_to_string(c->resample_method));
- pa_strbuf_printf(s, "avoid-resampling = %s\n", pa_yes_no(!c->avoid_resampling));
+ pa_strbuf_printf(s, "avoid-resampling = %s\n", pa_yes_no(c->avoid_resampling));
pa_strbuf_printf(s, "enable-remixing = %s\n", pa_yes_no(!c->disable_remixing));
pa_strbuf_printf(s, "remixing-use-all-sink-channels = %s\n", pa_yes_no(c->remixing_use_all_sink_channels));
pa_strbuf_printf(s, "enable-lfe-remixing = %s\n", pa_yes_no(!c->disable_lfe_remixing));
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/fa2a75347728fe03423173da674e6ab165fa314d
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/fa2a75347728fe03423173da674e6ab165fa314d
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20181023/2c938177/attachment.html>
More information about the pulseaudio-commits
mailing list