diff --git a/src/common/audio_stream.cpp b/src/common/audio_stream.cpp index e06d93cae..5af2a425d 100644 --- a/src/common/audio_stream.cpp +++ b/src/common/audio_stream.cpp @@ -263,7 +263,7 @@ void AudioStream::ReadFrames(SampleType* samples, u32 num_frames, bool apply_vol void AudioStream::EnsureBuffer(u32 size) { - DebugAssert(size <= m_buffer_size); + DebugAssert(size <= (m_buffer_size * m_channels)); if (GetBufferSpace() >= size) return;