Support SDL_mixer as an alternative to SDL_sound #109
Labels
No labels
RGSS accuracy
bug
compilation
discussion
documentation
duplicate
enhancement
invalid
performance issue
port request
question
ruby incompatibility
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: MapleShrine/mkxp#109
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Because SDL_sound needs patching to works properly with SDL2, this makes packaging hard to achieve for existing GNU/Linux distributions.
Though SDL_mixer may not fit all SDL_sound features, I believe it is worth yet to consider. I could prepare an Autotools project to support SDL_mixer if available.
Did you read #36?
Why would a distribution want to package mkxp?
@cremno oops, didn't find the issue, thanks. Well, SDL_mixer mixing features can be managed from OpenAL. The useful remaining part could be the higher level loaders and without having to deal with every file format decoder before, but in this case I suggest libsndfile instead (except for MP3). The motivation of this issue is to get rid of SDL_sound due to its tricky setup.
@Ancurio not for distributions, however developers would have a easy way to try the interpreter. I believe this is good for the project development itself.
@fdelapena I still don't understand. There are the prebuilt binaries (even 32/64 bit on Linux), and I even recently added a kit of all dependencies so one can easily hack and compile custom versions of mkxp (on Linux).
What are you trying to achieve by cutting out SDL_Sound? It's not the only dependency where you cannot straight up use distribution provided dev packages. The new PhysFS is still not being packaged (as it still hasn't made a new release), libruby needs a small hack to embed the zlib module, and upstream SDL2 still has the one bug.
Oh, I didn't remember about the PhysFS issue too (missing pkg-config and such). Despite the existing upstream bugs, I still believe maintaining dependency kits or binaries from the project side takes time too, and having code workarounds to make it work with existing buggy upstream may be still worth.
Would you accept patches to make mkxp work with upstream packages if proposed?
The PhysFS issue is not about pkg-config, it's about an entirely new feature (custom archive readers) which is missing from 2.0.
The dep kit I probably won't have to update for a long time. Binaries are an easy automated process and don't really take long. All in all it's a lot saner than accommodating 3rd party software distributors in my own code.
Don't you remember when we talked on irc and we rigorously went through the SDL_mixer API up and down, and I showed you how it simply doesn't allow for streamed decoding?
Yeah, you're right. By the way, I hope PhysFS will release a new version soon, as SDL2 is preparing the 2.0.4.
Let's close the issue.