Red Hat Bugzilla – Bug 180154
PATCH: fix digmid loading of timidity midi patches
Last modified: 2013-07-02 19:14:24 EDT
After my allgrorc fix to use timidity.cfg for the allegro digmid software
wavetable midi synth, the initialising of sound with midi works, but things are
still very quiet, this is because timidity.cfg contains absolute patch path's
and digmid can't handle these.
The attached patch fixes this, I'll also send it upstream.
Created attachment 124251 [details]
patch fixing digmid wavesynth
Could you please write here a link to the upstream list where you send this fix
so that I can see the discussion? Thanks.
I send it to email@example.com, here is the reply I got:
On Mon, 2006-02-06 at 12:46 +0100, Hans de Goede wrote:
> > Hi all,
> > I'm working on the Linux port of Worminator3 an allegro using game and
> > had some trouble to get midi sound to work.
> > Under most Linux distributions there is a softwavesynth called
> > timidity++ which comes with a set of gus-patches, I choose to use this
> > as patchset.
> > This made install_sound (from memory, more general sound-init) happy,
> > however no midi songs could be heard, after some debugging I found out
> > that digmid cannot handle patches.cfg files with absolute paths, the
> > attached patch fixes this.
Thanks, committed it, with a small chage: Instead of increasing the path
size from 32 to 64, I increased it to 1024, which is what is used
-- Elias Pschernig