summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio_core/audio_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp
index 0c3d7df01..4882a6cd8 100644
--- a/src/audio_core/audio_renderer.cpp
+++ b/src/audio_core/audio_renderer.cpp
@@ -225,7 +225,7 @@ std::vector<s16> AudioRenderer::VoiceState::DequeueSamples(std::size_t sample_co
out_status.wave_buffer_consumed++;
}
- if (wave_buffer.end_of_stream || !wave_buffer.buffer_sz) {
+ if (wave_buffer.end_of_stream || wave_buffer.buffer_sz == 0) {
info.play_state = PlayState::Paused;
}
}