diff options
-rw-r--r-- | scumm/player_mod.h | 3 | ||||
-rw-r--r-- | scumm/player_v2.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/scumm/player_mod.h b/scumm/player_mod.h index a64f15d7c0..8169ec7059 100644 --- a/scumm/player_mod.h +++ b/scumm/player_mod.h @@ -51,14 +51,13 @@ public: virtual void setUpdateProc(ModUpdateProc *proc, void *param, int freq); virtual void clearUpdateProc(); - + // AudioStream API int readBuffer(int16 *buffer, const int numSamples) { do_mix(buffer, numSamples / 2); return numSamples; } bool isStereo() const { return true; } bool endOfData() const { return false; } - int getRate() const { return _samplerate; } private: diff --git a/scumm/player_v2.h b/scumm/player_v2.h index 00dc43b419..473df64e13 100644 --- a/scumm/player_v2.h +++ b/scumm/player_v2.h @@ -85,14 +85,13 @@ public: virtual int getMusicTimer() const; virtual int getSoundStatus(int sound) const; - + // AudioStream API int readBuffer(int16 *buffer, const int numSamples) { do_mix(buffer, numSamples / 2); return numSamples; } bool isStereo() const { return true; } bool endOfData() const { return false; } - int getRate() const { return _sample_rate; } protected: |