WohlSoft / SDL-Mixer-X

SDL Mixer X (Or "MixerX" shortly) - An audio mixer library based on the SDL library, a fork of SDL_mixer
https://wohlsoft.github.io/SDL-Mixer-X/
Other
104 stars 26 forks source link

[Feature request] Support VGMStream format? #55

Open Yave-Yu opened 2 years ago

Yave-Yu commented 2 years ago

Such as brstm, they like special looped wav.

Wohlstand commented 2 years ago

There is a little problem that vgmstream library was unable to load music by memory (or by custom IO overlay) which is a problem.

Yave-Yu commented 2 years ago

I see. VGMStream in other place seems won't put song into memory entirely, just delete currently playing song then could discover it, unlike little file like NSF.

Wohlstand commented 2 years ago

I meant that most files were passed via SDL RWops interface, and to let such files to be properly processed, they need to have the I/O structure where developers can make overlay over SDL_RWops and allow library work with it natively. See example at src/codecs/music_mpg123.c.

So, that means I should develop my own overlay interface at VGMStream itself to make it being normally processed.