SDL_mixer 1.28 never closes files opened for OGG music playback

SDL_mixer 1.28 never closes files opened for OGG music playback. The files get
opened locally and then abandoned.

Dietfrid Mali <karx11erx hotmail.com> writes:

SDL_mixer 1.28 never closes files opened for OGG music playback. The files get
opened locally and then abandoned.

Forget it. I failed to call Mix_FreeMusic() after halting music playback.

SDL_mixer 1.28 never closes files opened for OGG music playback. The files get
opened locally and then abandoned.

Mix_FreeMusic() calls OGG_delete(), which calls
vorbis.ov_clear(&music->vf), which calls our callback function
sdl_close_func().

At least, that’s how it appears to work with the source in Subversion.
Is my analysis accurate?

–ryan.

Forget it. I failed to call Mix_FreeMusic() after halting music playback.

(I should have read all the messages before researching. :slight_smile: )

–ryan.