IsStreamingFromDisk

This commit is contained in:
Glenn Maynard
2004-08-21 07:01:54 +00:00
parent 00bf5e9639
commit ed2939b205
7 changed files with 14 additions and 1 deletions
+7 -1
View File
@@ -156,8 +156,9 @@ public:
int SetPosition_Accurate(int ms) { return 0; }
int SetPosition_Fast(int ms) { return 0; }
int Read(char *buf, unsigned len) { return 0; }
int GetSampleRate() const { return 44100; }
SoundReader *Copy() const { return new RageSoundReader_Silence; }
int GetSampleRate() const { return 44100; }
bool IsStreamingFromDisk() const { return false; }
};
@@ -790,6 +791,11 @@ int RageSound::GetSampleRate() const
return Sample->GetSampleRate();
}
bool RageSound::IsStreamingFromDisk() const
{
ASSERT( Sample );
return Sample->IsStreamingFromDisk();
}
bool RageSound::SetPositionFrames( int frames )
{