[Ohrrpgce] SVN: teeemcee/11187 music_sdl2: fix audio preview (except wav) not working in file browser.

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Jul 28 07:45:25 PDT 2019


teeemcee
2019-07-28 07:45:25 -0700 (Sun, 28 Jul 2019)
375
music_sdl2: fix audio preview (except wav) not working in file browser.

Also caused "This engine build can't play this file" message in song editor while any kind of music was playing

Turns out SDL_mixer 2.0.2 switches to only loading dynamic libraries once
they're actually needed, causing sound/music_supported_formats() to be wrong.
Have to call Mix_Init() to load them.
---
U   wip/audioedit.bas
U   wip/music_sdl.bas


More information about the Ohrrpgce mailing list