ValleyBell / libvgm

A more modular rewrite of most components from VGMPlay. will include sub-libraries for audio output, sound emulation and VGM playback
irc://irc.digibase.ca/#vgmrips
140 stars 33 forks source link

Changing playback speed during playback causes the songs to freeze. #93

Closed ValleyBell closed 2 years ago

ValleyBell commented 2 years ago

Steps to reproduce:

  1. compile the player application
  2. run ./player <file.vgm>
  3. press C, then type P [return], then SPD 1.5 [return]
  4. the song will freeze for some time and after some time continue playing at 1.5 speed

There is probably a bug with the calculation of the song position after adjusting the playback speed.

ValleyBell commented 2 years ago

fixed by 0d749d9118b24e2c78f335b54078f002ab5693f2