report the fake sample rate, so changes to it work

This commit is contained in:
Glenn Maynard
2005-10-23 22:00:23 +00:00
parent 49e8dd1327
commit 9d7ce29cdd
2 changed files with 6 additions and 0 deletions
@@ -36,6 +36,11 @@ float RageSound_Null::GetPlayLatency() const
return 0; /* silence is fast! */
}
int RageSound_Null::GetSampleRate( int iRate ) const
{
return samplerate;
}
/*
* (c) 2002-2004 Glenn Maynard, Aaron VonderHaar
* All rights reserved.
@@ -9,6 +9,7 @@ public:
RageSound_Null();
int64_t GetPosition( const RageSoundBase *snd ) const;
float GetPlayLatency() const;
int GetSampleRate( int iRate ) const;
void Update( float fDeltaTime );
private: