Tiny whitespace changes.
svn-id: r24907
This commit is contained in:
parent
d5b72bae50
commit
3f0f9045aa
1 changed files with 4 additions and 7 deletions
|
@ -252,8 +252,7 @@ Audio::AudioStream *MP3Sound::makeAudioStream(uint sound) {
|
||||||
return Audio::makeMP3Stream(_file, size);
|
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);
|
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -281,8 +280,7 @@ Audio::AudioStream *VorbisSound::makeAudioStream(uint sound) {
|
||||||
return Audio::makeVorbisStream(_file, size);
|
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);
|
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -310,8 +308,7 @@ Audio::AudioStream *FlacSound::makeAudioStream(uint sound) {
|
||||||
return Audio::makeFlacStream(_file, size);
|
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);
|
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, handle, new CompAudioStream(this, sound, (flags & Audio::Mixer::FLAG_LOOP) != 0), sound);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue