mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Fixed fractional offset not being reset in ringbuffer resamples, closes #4764
Probably fixes other streamplayer issues too.
(cherry picked from commit 3b5f1afb5c)
This commit is contained in:
committed by
Rémi Verschelde
parent
775b089548
commit
8df46cddcb
@@ -37,6 +37,7 @@ public:
|
||||
_FORCE_INLINE_ void flush() {
|
||||
rb_read_pos=0;
|
||||
rb_write_pos=0;
|
||||
offset=0;
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ bool is_ready() const{
|
||||
|
||||
Reference in New Issue
Block a user