aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2010-01-08 22:07:35 +0000
committerMax Horn2010-01-08 22:07:35 +0000
commit0cf53b025d8136a2f20ba405da1a696d0aa8767a (patch)
tree72e4241bf099c72e1f0a843c5632594f6b4947f5 /engines/saga
parent474d49946f5254bff7ac6a490fcc3b02655fae23 (diff)
downloadscummvm-rg350-0cf53b025d8136a2f20ba405da1a696d0aa8767a.tar.gz
scummvm-rg350-0cf53b025d8136a2f20ba405da1a696d0aa8767a.tar.bz2
scummvm-rg350-0cf53b025d8136a2f20ba405da1a696d0aa8767a.zip
Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/sound.cpp b/engines/saga/sound.cpp
index c4bcea9c1a..80a3504e35 100644
--- a/engines/saga/sound.cpp
+++ b/engines/saga/sound.cpp
@@ -83,17 +83,17 @@ void Sound::playSoundBuffer(Audio::SoundHandle *handle, SoundBuffer &buffer, int
switch (buffer.soundType) {
#ifdef USE_MAD
case kSoundMP3:
- stream = Audio::makeMP3Stream(new Common::MemoryReadStream(buffer.buffer, buffer.size, Common::DisposeAfterUse::YES), true);
+ stream = Audio::makeMP3Stream(new Common::MemoryReadStream(buffer.buffer, buffer.size, DisposeAfterUse::YES), true);
break;
#endif
#ifdef USE_VORBIS
case kSoundOGG:
- stream = Audio::makeVorbisStream(new Common::MemoryReadStream(buffer.buffer, buffer.size, Common::DisposeAfterUse::YES), true);
+ stream = Audio::makeVorbisStream(new Common::MemoryReadStream(buffer.buffer, buffer.size, DisposeAfterUse::YES), true);
break;
#endif
#ifdef USE_FLAC
case kSoundFLAC:
- stream = Audio::makeFlacStream(new Common::MemoryReadStream(buffer.buffer, buffer.size, Common::DisposeAfterUse::YES), true);
+ stream = Audio::makeFlacStream(new Common::MemoryReadStream(buffer.buffer, buffer.size, DisposeAfterUse::YES), true);
break;
#endif
default: