addressed issue

master
David Marcec 2019-07-08 14:49:16 +07:00
parent b82b5e46e7
commit e3d000a7e6
1 changed files with 1 additions and 1 deletions

@ -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;
}
}