aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTorbjörn Andersson2019-02-14 17:45:16 +0100
committerTorbjörn Andersson2019-02-14 17:45:16 +0100
commit9d94970c0ffd819065bc77b944ec106f552be259 (patch)
tree9e36f30b77ca29ae612295832ae1bb9df89226f4 /audio
parentd6ddb601ca9ae9c5e6316e1e0f05f4854d066df7 (diff)
downloadscummvm-rg350-9d94970c0ffd819065bc77b944ec106f552be259.tar.gz
scummvm-rg350-9d94970c0ffd819065bc77b944ec106f552be259.tar.bz2
scummvm-rg350-9d94970c0ffd819065bc77b944ec106f552be259.zip
AUDIO: Fix compilation with Clang
Reported by angstsmurf.
Diffstat (limited to 'audio')
-rw-r--r--audio/decoders/ac3.cpp2
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);
}