[Scummvm-cvs-logs] SF.net SVN: scummvm: [24907] scummvm/trunk/engines/agos/sound.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Dec 20 21:10:43 CET 2006


Revision: 24907
          http://scummvm.svn.sourceforge.net/scummvm/?rev=24907&view=rev
Author:   eriktorbjorn
Date:     2006-12-20 12:10:37 -0800 (Wed, 20 Dec 2006)

Log Message:
-----------
Tiny whitespace changes.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/sound.cpp

Modified: scummvm/trunk/engines/agos/sound.cpp
===================================================================
--- scummvm/trunk/engines/agos/sound.cpp	2006-12-20 16:24:28 UTC (rev 24906)
+++ scummvm/trunk/engines/agos/sound.cpp	2006-12-20 20:10:37 UTC (rev 24907)
@@ -245,15 +245,14 @@
 
 	int i = 1;
 	while (_offsets[sound + i] == _offsets[sound])
-			i++;
+		i++;
 
 	uint32 size = _offsets[sound + i] - _offsets[sound];
 
 	return Audio::makeMP3Stream(_file, size);
 }
 
-void MP3Sound::playSound(uint sound, Audio::SoundHandle *handle, byte flags)
-{
+void MP3Sound::playSound(uint sound, Audio::SoundHandle *handle, byte flags) {
 	_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
 }
 #endif
@@ -281,8 +280,7 @@
 	return Audio::makeVorbisStream(_file, size);
 }
 
-void VorbisSound::playSound(uint sound, Audio::SoundHandle *handle, byte flags)
-{
+void VorbisSound::playSound(uint sound, Audio::SoundHandle *handle, byte flags) {
 	_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
 }
 #endif
@@ -310,8 +308,7 @@
 	return Audio::makeFlacStream(_file, size);
 }
 
-void FlacSound::playSound(uint sound, Audio::SoundHandle *handle, byte flags)
-{
+void FlacSound::playSound(uint sound, Audio::SoundHandle *handle, byte flags) {
 	_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
 }
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list