This commit is contained in:
parent
666126b5e5
commit
0169a618eb
5 changed files with 94 additions and 29 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -697,6 +697,8 @@ void CXMPlaySound::stopPlayingId(xmPlayingId _playingId)
|
|||
break;
|
||||
|
||||
case SILENT:
|
||||
break;
|
||||
|
||||
case FREE:
|
||||
case CONTINUE:
|
||||
ASSERT(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue