diff options
author | Eugene Sandulenko | 2004-12-22 13:09:47 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-12-22 13:09:47 +0000 |
commit | 2fb8a8e45369b000b9f36d2433425ca48f6d9d13 (patch) | |
tree | 7b0c6ad4c4e004a2d58302e2cc57f226be7c13a8 /saga/sound.cpp | |
parent | eaa0f3b9740b81fff59792de55f335c149344c69 (diff) | |
download | scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.tar.gz scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.tar.bz2 scummvm-rg350-2fb8a8e45369b000b9f36d2433425ca48f6d9d13.zip |
o Moved GAME_* to SagaEngine object
o Renamed GAME_ITE_* to GID_ITE_*
o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM
svn-id: r16258
Diffstat (limited to 'saga/sound.cpp')
-rw-r--r-- | saga/sound.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/saga/sound.cpp b/saga/sound.cpp index e68b71384f..1b36ec1dbc 100644 --- a/saga/sound.cpp +++ b/saga/sound.cpp @@ -23,7 +23,6 @@ #include "saga/saga.h" #include "saga/sound.h" -#include "saga/game_mod.h" #include "sound/audiostream.h" #include "sound/mixer.h" @@ -172,19 +171,6 @@ int Sound::playSoundBuffer(PlayingSoundHandle *handle, SOUNDBUFFER *buf, int vol if (!buf->s_signed) flags |= SoundMixer::FLAG_UNSIGNED; - // FIXME: Remove the code below if the code above works. - -#if 0 - int game_id = GAME_GetGame(); - - if((game_id == GAME_ITE_DISK) || (game_id == GAME_ITE_DEMO)) { - flags = SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE; - } else { - flags = SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_16BITS | - SoundMixer::FLAG_LITTLE_ENDIAN; - } -#endif - _mixer->playRaw(handle, buf->s_buf, buf->s_buf_len, buf->s_freq, flags, -1, volume); return SUCCESS; |