audio: Reset symphonia decoder on loop
This commit is contained in:
parent
7249db9052
commit
30b185cbd4
|
@ -234,6 +234,7 @@ pub mod symphonia {
|
|||
formats::SeekTo::TimeStamp { track_id: 0, ts: 0 },
|
||||
);
|
||||
self.sample_buf.clear();
|
||||
self.decoder.reset();
|
||||
self.cur_sample = 0;
|
||||
self.stream_ended = false;
|
||||
self.next_frame();
|
||||
|
|
Loading…
Reference in New Issue