diff options
author | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-08-17 20:30:20 -0700 |
commit | 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch) | |
tree | ebb245cf6617e1ac0b35bf3681307bcbc541b230 /audio | |
parent | c8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff) | |
download | scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2 scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip |
JANITORIAL: Removing trailing spaces after int casts
Diffstat (limited to 'audio')
-rw-r--r-- | audio/decoders/xa.cpp | 4 | ||||
-rw-r--r-- | audio/mods/protracker.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/decoders/xa.cpp b/audio/decoders/xa.cpp index b18673411b..15a7439abf 100644 --- a/audio/decoders/xa.cpp +++ b/audio/decoders/xa.cpp @@ -83,7 +83,7 @@ int XAStream::readBuffer(int16 *buffer, const int numSamples) { _samples[i] = _samples[i] + _s1 * s_xaDataTable[_predictor][0] + _s2 * s_xaDataTable[_predictor][1]; _s2 = _s1; _s1 = _samples[i]; - int16 d = (int) (_samples[i] + 0.5); + int16 d = (int)(_samples[i] + 0.5); buffer[samplesDecoded] = d; samplesDecoded++; _samplesRemaining--; @@ -129,7 +129,7 @@ int XAStream::readBuffer(int16 *buffer, const int numSamples) { _samples[i] = _samples[i] + _s1 * s_xaDataTable[_predictor][0] + _s2 * s_xaDataTable[_predictor][1]; _s2 = _s1; _s1 = _samples[i]; - int16 d = (int) (_samples[i] + 0.5); + int16 d = (int)(_samples[i] + 0.5); buffer[samplesDecoded] = d; samplesDecoded++; } diff --git a/audio/mods/protracker.cpp b/audio/mods/protracker.cpp index d486f02e89..2838b58d61 100644 --- a/audio/mods/protracker.cpp +++ b/audio/mods/protracker.cpp @@ -328,7 +328,7 @@ void ProtrackerStream::updateRow() { _speed = exy; } else { _bpm = exy; - setInterruptFreq((int) (getRate() / (_bpm * 0.4))); + setInterruptFreq((int)(getRate() / (_bpm * 0.4))); } break; default: |