diff options
author | Stéphane Lepin <stephane.lepin@gmail.com> | 2019-01-08 23:33:14 +0100 |
---|---|---|
committer | Stéphane Lepin <stephane.lepin@gmail.com> | 2019-01-08 23:33:14 +0100 |
commit | efb1ad665f1891e6934eb2691d851c2fd0464078 (patch) | |
tree | d65a15789665c1fb62810fc39a35a5935a6d7264 /src/encoder | |
parent | 76ec1b87dd79e48209d4e9517eeecaafa92c9ca9 (diff) |
encoderopus: minor fixes
Diffstat (limited to 'src/encoder')
-rw-r--r-- | src/encoder/encoderopus.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/encoder/encoderopus.cpp b/src/encoder/encoderopus.cpp index b2de56b22d..09a116b303 100644 --- a/src/encoder/encoderopus.cpp +++ b/src/encoder/encoderopus.cpp @@ -13,7 +13,7 @@ #include "encoder/encoderopus.h" // Opus only supports 48 and 96 kHz samplerates -const int EncoderOpus::MASTER_SAMPLERATE = 48000; +constexpr int EncoderOpus::MASTER_SAMPLERATE = 48000; const char* EncoderOpus::INVALID_SAMPLERATE_MESSAGE = "Using Opus at samplerates other than 48 kHz " @@ -28,7 +28,6 @@ namespace { constexpr int kMaxOpusBufferSize = 1+1275; // Opus frame duration in milliseconds. Fixed to 60ms constexpr int kOpusFrameMs = 60; - constexpr int kOpusChannelCount = 2; const mixxx::Logger kLogger("EncoderOpus"); |