report the fake sample rate, so changes to it work
This commit is contained in:
@@ -36,6 +36,11 @@ float RageSound_Null::GetPlayLatency() const
|
|||||||
return 0; /* silence is fast! */
|
return 0; /* silence is fast! */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int RageSound_Null::GetSampleRate( int iRate ) const
|
||||||
|
{
|
||||||
|
return samplerate;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2002-2004 Glenn Maynard, Aaron VonderHaar
|
* (c) 2002-2004 Glenn Maynard, Aaron VonderHaar
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ public:
|
|||||||
RageSound_Null();
|
RageSound_Null();
|
||||||
int64_t GetPosition( const RageSoundBase *snd ) const;
|
int64_t GetPosition( const RageSoundBase *snd ) const;
|
||||||
float GetPlayLatency() const;
|
float GetPlayLatency() const;
|
||||||
|
int GetSampleRate( int iRate ) const;
|
||||||
void Update( float fDeltaTime );
|
void Update( float fDeltaTime );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user