From 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 17 Aug 2018 20:30:20 -0700 Subject: JANITORIAL: Removing trailing spaces after int casts --- audio/decoders/xa.cpp | 4 ++-- audio/mods/protracker.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'audio') 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: -- cgit v1.2.3