fix RageSoundReader_Silence END_OF_FILE

This commit is contained in:
Glenn Maynard
2006-12-21 23:41:02 +00:00
parent d2db2ffd5c
commit fa33890a78
+1 -1
View File
@@ -153,7 +153,7 @@ public:
int GetLength() const { return 0; }
int GetLength_Fast() const { return 0; }
int SetPosition( int iFrame ) { return 1; }
int Read( char *buf, int iFrames ) { return 0; }
int Read( char *buf, int iFrames ) { return RageSoundReader::END_OF_FILE; }
RageSoundReader *Copy() const { return new RageSoundReader_Silence; }
int GetSampleRate() const { return 44100; }
unsigned GetNumChannels() const { return 1; }