Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Let the music-finished hook start a new track without a skip in the a…
…udio. Previously, there'd be no more music mixed until the next SDL audio callback fired. Now if the hook (re)starts a track, it'll start mixing right away, into whatever space is left in the callback where the hook was called. This is useful if you have an mp3 that, after one playthrough, is replaced with a looping mp3 that contains the rest of the song on repeat. No more gap between the two.
- Loading branch information