diff options
author | Max Kellermann <max@duempel.org> | 2015-01-21 19:56:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-21 19:56:36 +0100 |
commit | aa08f9692c020cee23b5e8cf7c809b5b3a3e0b1e (patch) | |
tree | 146b79bb8d95af6ad0bf7f9596a88e8985b17a49 | |
parent | 288ba8493934ee378b6ba2175fd6c5c23d9066bc (diff) | |
download | mpd-aa08f9692c020cee23b5e8cf7c809b5b3a3e0b1e.tar.gz mpd-aa08f9692c020cee23b5e8cf7c809b5b3a3e0b1e.tar.xz mpd-aa08f9692c020cee23b5e8cf7c809b5b3a3e0b1e.zip |
pcm/SoxrResampler: add constant SOXR_DEFAULT_QUALITY
-rw-r--r-- | src/pcm/SoxrResampler.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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) |