mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 05:16:24 -05:00
addressed issue
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue