diff --git a/.codelite/neko-player.session b/.codelite/neko-player.session index ccaef38..9acdcbf 100644 --- a/.codelite/neko-player.session +++ b/.codelite/neko-player.session @@ -40,7 +40,7 @@ - + @@ -131,8 +131,8 @@ - - + + diff --git a/backends/playback/zsm/zsm_backend.hpp b/backends/playback/zsm/zsm_backend.hpp index 63be1b0..c6a37f8 100644 --- a/backends/playback/zsm/zsm_backend.hpp +++ b/backends/playback/zsm/zsm_backend.hpp @@ -84,7 +84,7 @@ class ZsmBackend : public PlaybackBackend { return (int16_t)((((int32_t)a) + ((int32_t)b)) >> 1); } void audio_step(size_t samples) { - while (((pcm_read_ctrl() & 0x80) == 0 || pcm_fifo_avail() < samples) && remain > 0) { + while (pcm_fifo_avail() < samples && remain > 0) { remain--; size_t oldpos = file->get_pos(); file->seek((cur++), SeekType::SET);