mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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
This commit is contained in:
parent
ee1160f2ef
commit
fa2a753477
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue