diff options
author | Paweł Kołodziejski | 2003-12-25 11:14:05 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-12-25 11:14:05 +0000 |
commit | 1abfe5d63f11d954278b9d987bde78770629fe78 (patch) | |
tree | 0c462c9e2b489a26be63385b047b90c063ff2e9a /scumm/smush | |
parent | 9482d3b5a2c6516867011cf22ce07d83df8be1f9 (diff) | |
download | scummvm-rg350-1abfe5d63f11d954278b9d987bde78770629fe78.tar.gz scummvm-rg350-1abfe5d63f11d954278b9d987bde78770629fe78.tar.bz2 scummvm-rg350-1abfe5d63f11d954278b9d987bde78770629fe78.zip |
start sound call directly digital imuse, only script part handled by mainloop of scumm script
svn-id: r11906
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/insane.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/smush/insane.cpp b/scumm/smush/insane.cpp index f7c8692533..bf187ff272 100644 --- a/scumm/smush/insane.cpp +++ b/scumm/smush/insane.cpp @@ -5923,7 +5923,7 @@ bool Insane::smlayer_startSound1(int32 sound) { // 4 - background music) // there are no equivalents in scummvm if (smlayer_loadSound(sound, 0, 2)) { - _scumm->_sound->addSoundToQueue(readArray(_numberArray, sound)); + _scumm->_sound->playSound(readArray(_numberArray, sound)); return true; } else return false; @@ -5938,18 +5938,17 @@ bool Insane::smlayer_startSound2(int32 sound) { // 4 - background music) // there are no equivalents in scummvm if (smlayer_loadSound(sound, 0, 2)) { - _scumm->_sound->addSoundToQueue(readArray(_numberArray, sound)); + _scumm->_sound->playSound(readArray(_numberArray, sound)); return true; } else return false; } void Insane::smlayer_soundSetPan(int32 soundid, int32 pan) { - _scumm->_imuseDigital->doCommand(12, soundid, 0x700, pan, 0, 0, 0, 0); + _scumm->_imuseDigital->parseScriptQues(12, soundid, 0x700, pan, 0, 0, 0, 0); } void Insane::smlayer_soundSetPriority(int32 sound, int32 priority) { - // FIXME: waits for complete iMUSE digital } void Insane::smlayer_drawSomething(byte *renderBitmap, int32 codecparam, |