aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/OpusDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-24 20:14:47 +0200
committerMax Kellermann <max@duempel.org>2013-10-24 20:14:47 +0200
commitf629eb8cb21377612c5c4453f495e5102b8c4803 (patch)
tree1575a49caab8c6deb16113d24c385d08e3c73e66 /src/decoder/OpusDecoderPlugin.cxx
parente4f41ff61d0b5f2c78e1d65e87f52eeecfedb21d (diff)
downloadmpd-f629eb8cb21377612c5c4453f495e5102b8c4803.tar.gz
mpd-f629eb8cb21377612c5c4453f495e5102b8c4803.tar.xz
mpd-f629eb8cb21377612c5c4453f495e5102b8c4803.zip
decoder/opus: make opus_sample_rate constexpr
Diffstat (limited to 'src/decoder/OpusDecoderPlugin.cxx')
-rw-r--r--src/decoder/OpusDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/OpusDecoderPlugin.cxx b/src/decoder/OpusDecoderPlugin.cxx
index ad2ee6297..10a3d0b83 100644
--- a/src/decoder/OpusDecoderPlugin.cxx
+++ b/src/decoder/OpusDecoderPlugin.cxx
@@ -41,7 +41,7 @@
#include <string.h>
-static const opus_int32 opus_sample_rate = 48000;
+static constexpr opus_int32 opus_sample_rate = 48000;
gcc_pure
static bool