diff options
author | Torbjörn Andersson | 2003-09-05 12:19:40 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-05 12:19:40 +0000 |
commit | bee5a3820aff53744243d70ecabe775b7bb1829d (patch) | |
tree | 10a496b0588c6383cb677498ac29b6ab21005e55 /sword2/driver | |
parent | 2ecbd4ae88243e1329bcde4b0f64616cab32fc66 (diff) | |
download | scummvm-rg350-bee5a3820aff53744243d70ecabe775b7bb1829d.tar.gz scummvm-rg350-bee5a3820aff53744243d70ecabe775b7bb1829d.tar.bz2 scummvm-rg350-bee5a3820aff53744243d70ecabe775b7bb1829d.zip |
Removed unused function, StartMusicFadeDown().
svn-id: r10004
Diffstat (limited to 'sword2/driver')
-rw-r--r-- | sword2/driver/d_sound.cpp | 10 | ||||
-rw-r--r-- | sword2/driver/d_sound.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index 0a511aec0e..2f5b29c914 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -990,16 +990,6 @@ uint8 Sword2Sound::IsFxMute(void) { return (fxMuted); } -void Sword2Sound::StartMusicFadeDown(int i) { - StackLock lock(_mutex); - - g_engine->_mixer->stopHandle(soundHandleMusic[i]); - musFading[i] = -16; - musStreaming[i] = 0; - if (fpMus.isOpen()) - fpMus.close(); -} - int32 Sword2Sound::StreamCompMusic(const char *filename, uint32 musicId, int32 looping) { StackLock lock(_mutex); return StreamCompMusicFromLock(filename, musicId, looping); diff --git a/sword2/driver/d_sound.h b/sword2/driver/d_sound.h index 42b60ea374..ab92403a98 100644 --- a/sword2/driver/d_sound.h +++ b/sword2/driver/d_sound.h @@ -91,7 +91,6 @@ class Sword2Sound { private: int32 StreamCompMusicFromLock(const char *filename, uint32 musicId, int32 looping); int32 GetFxIndex(int32 id); - void StartMusicFadeDown(int i); int32 DipMusic(); OSystem::MutexRef _mutex; |