diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-07-08 06:49:16 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-07-08 06:49:16 +0200 |
commit | e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9 (patch) | |
tree | 7ce6f1e803efbe27c20e3a1445c02241f615f812 /src/audio_core | |
parent | audren: Only manage wave buffers with a size (diff) | |
download | yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar.gz yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar.bz2 yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar.lz yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar.xz yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.tar.zst yuzu-e3d000a7e66a7e2c7ecbd7ad9d6626b9bedf66a9.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/audio_renderer.cpp | 2 |
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; } } |