aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/ac3.cpp
AgeCommit message (Collapse)Author
2019-02-14AUDIO: Fix compilation with ClangTorbjörn Andersson
Reported by angstsmurf.
2019-02-10AUDIO: Simplify _audioGain calculationTorbjörn Andersson
No need to explicitly set it to 1.0. (There may have been in an earlier version, to avoid any possible rounding error. But if so, that reason is long gone.)
2019-02-10ZVISION: Boost volume for MPEG cutscenesTorbjörn Andersson
The high-resolution videos play back at much lower volume than the original ones. This adds hard-coded values for how much to amplify each cutscene. It's all done by ear, and it does introduce some clipping, but I think it should be acceptable. Of course, it could also be a problem with the audio decoder, so this may be the wrong approach entirely.
2018-11-04AUDIO: Add a separate AC-3 decoderTorbjörn Andersson
This code comes from clone2727's now defunct (?) ac3 branch.