diff options
author | Torbjörn Andersson | 2006-12-20 20:10:37 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-12-20 20:10:37 +0000 |
commit | 3f0f9045aad6255f73457f03e7d0282e43c2e91d (patch) | |
tree | a4a4e79f305255ac68ab07b41dd89ec52350c540 /engines/agos | |
parent | d5b72bae5068e2b33e02faa56b2ba88765f27626 (diff) | |
download | scummvm-rg350-3f0f9045aad6255f73457f03e7d0282e43c2e91d.tar.gz scummvm-rg350-3f0f9045aad6255f73457f03e7d0282e43c2e91d.tar.bz2 scummvm-rg350-3f0f9045aad6255f73457f03e7d0282e43c2e91d.zip |
Tiny whitespace changes.
svn-id: r24907
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/sound.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp index 35770971c5..ea610eb7eb 100644 --- a/engines/agos/sound.cpp +++ b/engines/agos/sound.cpp @@ -245,15 +245,14 @@ Audio::AudioStream *MP3Sound::makeAudioStream(uint sound) { 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 @@ Audio::AudioStream *VorbisSound::makeAudioStream(uint sound) { 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 @@ Audio::AudioStream *FlacSound::makeAudioStream(uint sound) { 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 |