remove RageSoundManager::PlayCopyOfSound

This commit is contained in:
Glenn Maynard
2007-01-18 08:48:06 +00:00
parent a6b63cce18
commit 9584ce2b41
2 changed files with 0 additions and 15 deletions
-13
View File
@@ -144,19 +144,6 @@ int RageSoundManager::GetDriverSampleRate() const
return m_pDriver->GetSampleRate();
}
RageSound *RageSoundManager::PlayCopyOfSound( RageSound &snd, const RageSoundParams *pParams )
{
RageSound *pSound = new RageSound( snd );
if( pParams )
pSound->SetParams( *pParams );
pSound->StartPlaying();
pSound->DeleteSelfWhenFinishedPlaying();
return pSound;
}
/* If the given path is loaded, return a copy; otherwise return NULL.
* It's the caller's responsibility to delete the result. */
RageSoundReader *RageSoundManager::GetLoadedSound( const RString &sPath_ )
-2
View File
@@ -47,8 +47,6 @@ public:
void PlayOnce( RString sPath );
RageSound *PlayCopyOfSound( RageSound &snd, const RageSoundParams *params = NULL );
private:
map<RString, RageSoundReader_Preload *> m_mapPreloadedSounds;