aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/audiostream.cpp2
-rw-r--r--sound/softsynth/ym2612.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 771baf351a..0fba6affdb 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -300,7 +300,7 @@ int AppendableMemoryStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16
assert(buf.start <= _pos && _pos <= buf.end);
const int samplesLeftInCurBuffer = buf.end - _pos;
if (samplesLeftInCurBuffer == 0) {
- delete [] buf.start;
+ delete[] buf.start;
_bufferQueue.erase(_bufferQueue.begin());
_pos = 0;
continue;
diff --git a/sound/softsynth/ym2612.cpp b/sound/softsynth/ym2612.cpp
index 57ad0f1c62..1e985aeb1c 100644
--- a/sound/softsynth/ym2612.cpp
+++ b/sound/softsynth/ym2612.cpp
@@ -742,12 +742,12 @@ void MidiDriver_YM2612::createLookupTables() {
}
void MidiDriver_YM2612::removeLookupTables() {
- delete [] sintbl;
- delete [] powtbl;
- delete [] frequencyTable;
- delete [] keycodeTable;
- delete [] keyscaleTable;
- delete [] attackOut;
+ delete[] sintbl;
+ delete[] powtbl;
+ delete[] frequencyTable;
+ delete[] keycodeTable;
+ delete[] keyscaleTable;
+ delete[] attackOut;
sintbl = powtbl = frequencyTable = keycodeTable = keyscaleTable = attackOut = 0;
}