rename RageSoundManager::StopPlayingSound to RageSoundManager::StopPlayingAllCopiesOfSound

This commit is contained in:
Glenn Maynard
2004-04-07 03:42:14 +00:00
parent e1d583dac4
commit 960bc1eaac
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -82,7 +82,7 @@ RageSound::~RageSound()
/* If we're a "master" sound (not a copy), tell RageSoundManager to
* stop mixing us and everything that's copied from us. */
if(original == this)
SOUNDMAN->StopPlayingSound(*this);
SOUNDMAN->StopPlayingAllCopiesOfSound(*this);
Unload();
@@ -590,7 +590,7 @@ void RageSound::StopPlaying()
stopped_position = (int) GetPositionSecondsInternal();
/* Tell the sound manager to stop mixing this sound. */
/* Tell the sound driver to stop mixing this sound. */
SOUNDMAN->StopMixing(this);
SOUNDMAN->lock.Lock();
@@ -609,7 +609,7 @@ RageSound *RageSound::Play( const RageSoundParams *params )
void RageSound::Stop()
{
SOUNDMAN->StopPlayingSound(*this);
SOUNDMAN->StopPlayingAllCopiesOfSound(*this);
}
+1 -1
View File
@@ -181,7 +181,7 @@ RageSound *RageSoundManager::PlaySound( RageSound &snd, const RageSoundParams *p
return sound_to_play;
}
void RageSoundManager::StopPlayingSound(RageSound &snd)
void RageSoundManager::StopPlayingAllCopiesOfSound(RageSound &snd)
{
LockMut(lock);
+1 -1
View File
@@ -54,7 +54,7 @@ public:
void PlayOnce( CString sPath );
RageSound *PlaySound( RageSound &snd, const RageSoundParams *params );
void StopPlayingSound(RageSound &snd);
void StopPlayingAllCopiesOfSound(RageSound &snd);
/* A list of all sounds that currently exist. RageSound adds and removes
* itself to this. */