summaryrefslogtreecommitdiff
path: root/src/pcm/SoxrResampler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/SoxrResampler.cxx')
-rw-r--r--src/pcm/SoxrResampler.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pcm/SoxrResampler.cxx b/src/pcm/SoxrResampler.cxx
index f576cd52c..1b8c453e1 100644
--- a/src/pcm/SoxrResampler.cxx
+++ b/src/pcm/SoxrResampler.cxx
@@ -200,9 +200,8 @@ pcm_resample_soxr_global_init(const ConfigBlock &block)
soxr_quality = soxr_quality_spec(recipe, 0);
}
- FormatDebug(soxr_domain,
- "soxr converter '%s'",
- soxr_quality_name(recipe));
+ FmtDebug(soxr_domain, "soxr converter '{}'",
+ soxr_quality_name(recipe));
const unsigned n_threads = block.GetBlockValue("threads", 1);
soxr_runtime = soxr_runtime_spec(n_threads);
@@ -226,7 +225,7 @@ SoxrPcmResampler::Open(AudioFormat &af, unsigned new_sample_rate)
throw FormatRuntimeError("soxr initialization has failed: %s",
e);
- FormatDebug(soxr_domain, "soxr engine '%s'", soxr_engine(soxr));
+ FmtDebug(soxr_domain, "soxr engine '{}'", soxr_engine(soxr));
if (soxr_use_custom_recipe)
FormatDebug(soxr_domain,
"soxr precision=%0.0f, phase_response=%0.2f, "