"PlayTheSound"? Don't rename functions to ridiculous things like that. This works fine in VC7 and VC8, so I'm reverting it. Ask before making ugly changes.

This commit is contained in:
Glenn Maynard
2006-11-19 00:41:50 +00:00
parent dc4d0317b5
commit a3a0b16bad
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -647,7 +647,7 @@ RageSound *RageSound::Play( const RageSoundParams *pParams )
return NULL;
}
return SOUNDMAN->PlayTheSound( *this, pParams );
return SOUNDMAN->PlaySound( *this, pParams );
}
void RageSound::Stop()
+2 -2
View File
@@ -244,9 +244,9 @@ int RageSoundManager::GetDriverSampleRate( int iRate ) const
return m_pDriver->GetSampleRate( iRate );
}
/* The return value of PlayTheSound and PlayCopyOfSound is only valid in the main
/* The return value of PlaySound and PlayCopyOfSound is only valid in the main
* thread, until the next call to Update(). After that, it may be deleted. */
RageSound *RageSoundManager::PlayTheSound( RageSound &snd, const RageSoundParams *params )
RageSound *RageSoundManager::PlaySound( RageSound &snd, const RageSoundParams *params )
{
if( snd.IsPlaying() )
return PlayCopyOfSound( snd, params );
+1 -1
View File
@@ -55,7 +55,7 @@ public:
void PlayOnce( RString sPath );
RageSound *PlayTheSound( RageSound &snd, const RageSoundParams *params = NULL );
RageSound *PlaySound( RageSound &snd, const RageSoundParams *params = NULL );
RageSound *PlayCopyOfSound( RageSound &snd, const RageSoundParams *params = NULL );
private: