fix RageSoundReader_Silence END_OF_FILE
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user