natt
Junior Member
Posts: 248
Registered: 05-11 |
Average said:
For the record I much prefer the Creative soundfont but if it's a choice between acceptable SF with no volume control and pretty rubbish sF with volume control, I'm afraid I'm going to suffer the rubbish one - at least until there's some kind of fix or work around...
I'll finish this post later - my girlfriend is standing tapping her foot waiting on me to go out with her!!! *Slap....* :P
For what it's worth, I looked at implementing a volume control of the sort I used for my own midi code in SDL_Mixer, and it would be possible, but some rather ugly code would have to be modified. What SDL_Mixer's mmsystem backend does is "pre-bake" an entire MIDI song into mmsystem-native structures at load time, and then it just runs through that with a callback while the song plays. So you can't add extra events into the stream while it plays (as you would need to do to if the user hits the master volume control in the middle of a song) without significant modification.
Also, my impression of SDL_Mixer's development was "very stagnant", so any fix I made wouldn't likely make it back to mainline, which means I'd be stuck maintaining an SDL_Mixer branch, which opens a few more cans of worms.
|