add GetDriverSampleRate
This commit is contained in:
@@ -148,6 +148,11 @@ float RageSoundManager::GetPlayLatency() const
|
||||
return driver->GetPlayLatency();
|
||||
}
|
||||
|
||||
int RageSoundManager::GetDriverSampleRate() const
|
||||
{
|
||||
return driver->GetSampleRate();
|
||||
}
|
||||
|
||||
RageSound *RageSoundManager::PlaySound(RageSound &snd)
|
||||
{
|
||||
RageSound *sound_to_play;
|
||||
|
||||
@@ -49,6 +49,7 @@ public:
|
||||
int GetPosition(const RageSound *snd) const; /* used by RageSound */
|
||||
void AddFakeSound(RageSound *snd); /* used by drivers */
|
||||
float GetPlayLatency() const;
|
||||
int GetDriverSampleRate() const;
|
||||
|
||||
void PlayOnce( CString sPath );
|
||||
static void PlayOnceFromDir( CString sDir );
|
||||
|
||||
Reference in New Issue
Block a user