diff options
author | Max Horn | 2002-08-18 21:51:15 +0000 |
---|---|---|
committer | Max Horn | 2002-08-18 21:51:15 +0000 |
commit | d7683be5922f1e885e9aed79da46835add0c85f4 (patch) | |
tree | d36a990d861c234cdc9bc75aaf83d08736d177ff /insane.cpp | |
parent | 7eea830240363d76f476f4dae02529ac8b48402f (diff) | |
download | scummvm-rg350-d7683be5922f1e885e9aed79da46835add0c85f4.tar.gz scummvm-rg350-d7683be5922f1e885e9aed79da46835add0c85f4.tar.bz2 scummvm-rg350-d7683be5922f1e885e9aed79da46835add0c85f4.zip |
don't use g_mixer, it's only there due to the MIDIEMU hack
svn-id: r4767
Diffstat (limited to 'insane.cpp')
-rw-r--r-- | insane.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/insane.cpp b/insane.cpp index f08dc337a6..882a64ff08 100644 --- a/insane.cpp +++ b/insane.cpp @@ -493,7 +493,7 @@ void SmushPlayer::parseIACT() { if (idx == MAX_STREAMER) { for (idx = 0; idx < MAX_STREAMER; idx++) { - if (_imusTrk[idx] == 0 && g_mixer->_channels[idx] == NULL) { + if (_imusTrk[idx] == 0 && _scumm->_mixer->_channels[idx] == NULL) { _imusTrk[idx] = trk; _imusSize[idx] = 0; new_mixer = true; @@ -1198,7 +1198,7 @@ void SmushPlayer::parsePSAD() { // FIXME: Needs to append to a sound buffer if (idx == MAX_STREAMER) { for (idx = 0; idx < MAX_STREAMER; idx++) { - if (_psadTrk[idx] == 0 && g_mixer->_channels[idx] == NULL) { + if (_psadTrk[idx] == 0 && _scumm->_mixer->_channels[idx] == NULL) { _psadTrk[idx] = trk; _saudSize[idx] = 0; new_mixer = true; @@ -1467,9 +1467,9 @@ void SmushPlayer::startVideo(short int arg, byte *videoFile) { for (idx = 0; idx < MAX_STREAMER; idx++) { if (_imusTrk[idx] != 0) { if (_imusNewMixer[idx]) { - g_mixer->play_stream(NULL, idx, _imusBuf[idx], _imusFinalSize[idx], _imusRate[idx], _imusFlags[idx]); + _scumm->_mixer->play_stream(NULL, idx, _imusBuf[idx], _imusFinalSize[idx], _imusRate[idx], _imusFlags[idx]); } else { - g_mixer->append(idx, _imusBuf[idx], _imusFinalSize[idx], _imusRate[idx], _imusFlags[idx]); + _scumm->_mixer->append(idx, _imusBuf[idx], _imusFinalSize[idx], _imusRate[idx], _imusFlags[idx]); } } } @@ -1479,9 +1479,9 @@ void SmushPlayer::startVideo(short int arg, byte *videoFile) { for (idx = 0; idx < MAX_STREAMER; idx++) { if (_psadTrk[idx] != 0) { if (_strkNewMixer[idx]) { - g_mixer->play_stream(NULL, idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); + _scumm->_mixer->play_stream(NULL, idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); } else { - g_mixer->append(idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); + _scumm->_mixer->append(idx, _strkBuf[idx], _strkFinalSize[idx], _strkRate[idx], SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE); } } } |