diff options
Diffstat (limited to 'audio/decoders/ac3.cpp')
| -rw-r--r-- | audio/decoders/ac3.cpp | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/audio/decoders/ac3.cpp b/audio/decoders/ac3.cpp index 1b2a3bff76..170d688b23 100644 --- a/audio/decoders/ac3.cpp +++ b/audio/decoders/ac3.cpp @@ -67,10 +67,7 @@ private:  };  AC3Stream::AC3Stream(double decibel = 0.0) : _a52State(0), _frameSize(0), _inBufPtr(0), _flags(0), _sampleRate(0) { -	if (decibel != 0.0) -		_audioGain = pow(2, decibel / 6); -	else -		_audioGain = 1.0; +	_audioGain = pow(2, decibel / 6);  }  AC3Stream::~AC3Stream() { | 
