Bug#715461: libsdl-mixer1.2: no sf2 sound fonts loaded by default

Fabian Greffrath fabian at greffrath.com
Tue Jul 9 14:08:35 UTC 2013


tags -1 + patch

Am Dienstag, den 09.07.2013, 11:48 +0200 schrieb Fabian Greffrath: 
> The Mix_EachSoundFont() function return()s when one of the passed sound
> font files cannot be handled. So instead of requiring both sound fonts
> to be installed, let's concentrate on one instead (I have decided for
> the smaller sound font) and let the user explicitely select the other
> one via the SDL_SOUNDFONTS variable.

The attached patch/hack fixes this. It iterates over both given sound
font files and uses the last one it finds. That is, if both are present,
the latter overrides the former (in this case, the bigger FluidR3_GM.sf2
overrides the smaller TimGM6mb.sf2). If none is present, it gracefully
falls back to its own internal timidity sound renderer and freepats.

The correct package relationship with this patch is thus:

Recommends: musescore-soundfont-gm, fluid-soundfont-gm, freepats

Hope that helps!

- Fabian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: soundfont_paths.patch
Type: text/x-patch
Size: 939 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20130709/a79b2515/attachment.bin>


More information about the Pkg-sdl-maintainers mailing list