Also reset read cursor and overran status on audio.clear()

This commit is contained in:
regularfry 2023-08-09 13:40:43 +01:00
parent d3ca9a2eda
commit 15b2f9bb08
No known key found for this signature in database

View File

@ -128,6 +128,8 @@ bool audio_async::clear() {
m_audio_pos = 0;
m_audio_len = 0;
m_audio_read_cursor = -1;
overran_flag = false;
}
return true;