diff options
Diffstat (limited to 'engines/titanic/sound/audio_buffer.h')
-rw-r--r-- | engines/titanic/sound/audio_buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/sound/audio_buffer.h b/engines/titanic/sound/audio_buffer.h index 1f157b9346..ad8c3e4064 100644 --- a/engines/titanic/sound/audio_buffer.h +++ b/engines/titanic/sound/audio_buffer.h @@ -28,10 +28,12 @@ namespace Titanic { +#define AUDIO_SAMPLING_RATE 22050 + class CAudioBuffer { private: Common::Mutex _mutex; - FixedQueue<int16, 88200> _data; + FixedQueue<int16, AUDIO_SAMPLING_RATE * 4> _data; public: bool _finished; public: |