make GetNumChannels pure virtual

not 1 or 2 anymore; RageSound only supports 1 or 2 but intermediate
filters may have more
This commit is contained in:
Glenn Maynard
2006-12-10 09:04:58 +00:00
parent 95a08d5740
commit a62b963fb8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -157,6 +157,7 @@ public:
int Read( char *buf, int iFrames ) { return 0; }
RageSoundReader *Copy() const { return new RageSoundReader_Silence; }
int GetSampleRate() const { return 44100; }
unsigned GetNumChannels() const { return 1; }
bool IsStreamingFromDisk() const { return false; }
int GetNextSourceFrame() const { return 0; }
float GetStreamToSourceRatio() const { return 1.0f; }