This commit is contained in:
Paul 2001-05-08 22:09:00 +00:00
parent 666126b5e5
commit 0169a618eb
5 changed files with 94 additions and 29 deletions

View file

@ -596,7 +596,7 @@ void CSoundMediator::setposition(xmPlayingId _playingId,VECTOR *pos)
Params:
Returns:
---------------------------------------------------------------------- */
void CSoundMediator::stopSfx(xmPlayingId _playingId)
void CSoundMediator::stopAndUnlockSfx(xmPlayingId _playingId)
{
s_xmplaySound->stopPlayingId(_playingId);
s_xmplaySound->unlockPlayingId(_playingId);

View file

@ -187,7 +187,7 @@ public:
static void setSfxBank(SFXBANKID _bankId);
static xmPlayingId playSfx(SFXID _sfxId,int _lock=false);
static void setposition(xmPlayingId _playingId,VECTOR *pos);
static void stopSfx(xmPlayingId _playingId);
static void stopAndUnlockSfx(xmPlayingId _playingId);
static void stopAllSfx();
// Speech interface

View file

@ -697,6 +697,8 @@ void CXMPlaySound::stopPlayingId(xmPlayingId _playingId)
break;
case SILENT:
break;
case FREE:
case CONTINUE:
ASSERT(0);