From aa08f9692c020cee23b5e8cf7c809b5b3a3e0b1e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Jan 2015 19:56:36 +0100 Subject: pcm/SoxrResampler: add constant SOXR_DEFAULT_QUALITY --- src/pcm/SoxrResampler.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pcm/SoxrResampler.cxx') diff --git a/src/pcm/SoxrResampler.cxx b/src/pcm/SoxrResampler.cxx index 2b590fb31..4b914cea2 100644 --- a/src/pcm/SoxrResampler.cxx +++ b/src/pcm/SoxrResampler.cxx @@ -32,7 +32,9 @@ static constexpr Domain soxr_domain("soxr"); -static unsigned long soxr_quality_recipe = SOXR_HQ; +static constexpr unsigned long SOXR_DEFAULT_RECIPE = SOXR_HQ; + +static unsigned long soxr_quality_recipe = SOXR_DEFAULT_RECIPE; static const char * soxr_quality_name(unsigned long recipe) -- cgit v1.2.3