summaryrefslogtreecommitdiffstats
path: root/src/sources/soundsourcemodplug.h
diff options
context:
space:
mode:
authorUwe Klotz <uwe_klotz@web.de>2017-01-21 15:29:27 +0100
committerUwe Klotz <uwe_klotz@web.de>2017-01-21 20:31:42 +0100
commitbcef3ed107c6a4b556c4409dde82accd078e6eae (patch)
treed27ae8ec0e269989d993f98c5f23f1efac24f4b7 /src/sources/soundsourcemodplug.h
parentcff08a161d1c4304c4e5f162410d600d74f60072 (diff)
Replace const with constexpr
Diffstat (limited to 'src/sources/soundsourcemodplug.h')
-rw-r--r--src/sources/soundsourcemodplug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/soundsourcemodplug.h b/src/sources/soundsourcemodplug.h
index 51e83f1fed..0fc4031139 100644
--- a/src/sources/soundsourcemodplug.h
+++ b/src/sources/soundsourcemodplug.h
@@ -16,9 +16,9 @@ namespace mixxx {
// in RAM to allow seeking and smooth operation in Mixxx.
class SoundSourceModPlug: public mixxx::SoundSource {
public:
- static const SINT kChannelCount;
- static const SINT kSamplingRate;
- static const SINT kBitsPerSample;
+ static constexpr SINT kChannelCount = kChannelCountStereo;
+ static constexpr SINT kSamplingRate = 16;
+ static constexpr SINT kBitsPerSample = 44100;
// apply settings for decoding
static void configure(unsigned int bufferSizeLimit,