Open nmlgc opened 10 months ago
Turns out that miniaudio has two disadvantages when it comes to the features needed for #9:
With 1) forcing me to separately include the same libraries anyway, I've moved FLAC/Vorbis decoding and fading to the platform-independent game layer, using an adapted version of thcrap's BGM streaming code. miniaudio now only receives the raw audio stream, which means that we only ended up using it for features that DirectSound also supports.
Thus, it would make slightly more sense to go for 2) in the case of sound. Then, we not only get FLAC/Vorbis BGM modding on Windows 98, but even the modern SDL Windows build could ditch miniaudio and go back to DirectSound, reducing binary size and release build link times.
SDL 2 doesn't work on Windows 98 by default, which means that the i586 builds are going to miss out on the following features:
9
48
51
52
Making these work on Windows 98 could be done in two ways: 1) Get SDL 2 running on Windows 98 after all, forking it if necessary. More expensive, but would benefit every SDL 2 game. Bonus points for getting SDL 2 to run without KernelEx. 2) Backport all features to the original DirectInput and DirectSound backends. Cheaper, but will only cover Shuusou Gyoku.
It's up to the backers to decide which strategy I go with.