From 696897b0583ad52ebc6f7666525277847619a8ce Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 1 Jan 2009 15:06:43 +0000 Subject: Whoa! Removing trailing spaces. svn-id: r35648 --- engines/m4/sound.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/m4/sound.cpp') diff --git a/engines/m4/sound.cpp b/engines/m4/sound.cpp index 3091592313..542e8ebdcd 100644 --- a/engines/m4/sound.cpp +++ b/engines/m4/sound.cpp @@ -80,7 +80,7 @@ void Sound::playSound(const char *soundName, int volume, bool loop, int channel) } else { warning("Attempted to play a sound on a channel that isn't free"); return; - } + } } int bufferSize = soundStream->size(); @@ -124,7 +124,7 @@ void Sound::stopSound(int channel) { } else { warning("Attempted to stop a sound on a channel that is already free"); return; - } + } } for (int i = 0; i < SOUND_HANDLES; i++) { @@ -215,7 +215,7 @@ void Sound::loadDSRFile(const char *fileName) { printf("\n"); */ } - + _vm->res()->toss(fileName); _dsrFileLoaded = true; @@ -264,11 +264,11 @@ void Sound::playDSRSound(int soundIndex, int volume, bool loop) { fileStream->read(compData, _dsrFile.dsrEntries[soundIndex]->compSize); _vm->res()->toss(_dsrFile.fileName); - fab.decompress(compData, _dsrFile.dsrEntries[soundIndex]->compSize, + fab.decompress(compData, _dsrFile.dsrEntries[soundIndex]->compSize, buffer, _dsrFile.dsrEntries[soundIndex]->uncompSize); // Play sound - _mixer->playRaw(Audio::Mixer::kSFXSoundType, &handle->handle, buffer, + _mixer->playRaw(Audio::Mixer::kSFXSoundType, &handle->handle, buffer, _dsrFile.dsrEntries[soundIndex]->uncompSize, _dsrFile.dsrEntries[soundIndex]->frequency, flags, -1, volume); -- cgit v1.2.3