tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
1.05k stars 44 forks source link

fix(playback::rusty): clear already decoded sample buffer after seek #282

Closed hasezoey closed 6 months ago

hasezoey commented 6 months ago

This PR changes the rusty backend to clear its sample buffer after a seek.

I dont actually hear a audible difference, but i think it is actually more correct to not play the samples from before the seek.

@tramhao what do you think?

tramhao commented 6 months ago

Sure, there is no need to play them.