Allow read-only access to the lsit of currently-playing sounds.
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
|||||||
void AddFakeSound(RageSound *snd); /* used by drivers */
|
void AddFakeSound(RageSound *snd); /* used by drivers */
|
||||||
float GetPlayLatency() const;
|
float GetPlayLatency() const;
|
||||||
int GetDriverSampleRate() const;
|
int GetDriverSampleRate() const;
|
||||||
|
const set<RageSound *> &GetPlayingSounds() const { return playing_sounds; }
|
||||||
|
|
||||||
void PlayOnce( CString sPath );
|
void PlayOnce( CString sPath );
|
||||||
static void PlayOnceFromDir( CString sDir );
|
static void PlayOnceFromDir( CString sDir );
|
||||||
|
|||||||
Reference in New Issue
Block a user