play copy of so that the Cancel sound continues playing after the transition and sample have been torn down

This commit is contained in:
Chris Danford
2005-03-21 03:41:06 +00:00
parent a23db65a1e
commit 1bff5bb755
3 changed files with 23 additions and 9 deletions
+2 -1
View File
@@ -14,12 +14,13 @@ public:
bool Load( CString sFilePath, int iMaxToLoad = 1000 /*load all*/ );
void UnloadAll();
void PlayRandom();
void PlayCopyOfRandom();
void Stop();
private:
bool LoadSoundDir( CString sDir, int iMaxToLoad );
bool LoadSound( CString sSoundFilePath );
int GetNextToPlay();
vector<RageSound*> m_pSamples;
int m_iIndexLastPlayed;