aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/sound.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-01 15:06:43 +0000
committerEugene Sandulenko2009-01-01 15:06:43 +0000
commit696897b0583ad52ebc6f7666525277847619a8ce (patch)
tree5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /engines/m4/sound.cpp
parent05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff)
downloadscummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'engines/m4/sound.cpp')
-rw-r--r--engines/m4/sound.cpp10
1 files changed, 5 insertions, 5 deletions
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);