diff options
-rw-r--r-- | audio/decoders/ac3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decoders/ac3.cpp b/audio/decoders/ac3.cpp index 170d688b23..cc0b530a88 100644 --- a/audio/decoders/ac3.cpp +++ b/audio/decoders/ac3.cpp @@ -66,7 +66,7 @@ private: double _audioGain; }; -AC3Stream::AC3Stream(double decibel = 0.0) : _a52State(0), _frameSize(0), _inBufPtr(0), _flags(0), _sampleRate(0) { +AC3Stream::AC3Stream(double decibel) : _a52State(0), _frameSize(0), _inBufPtr(0), _flags(0), _sampleRate(0) { _audioGain = pow(2, decibel / 6); } |