Re: [AD] PATCH: fix digmid with absolute pathnames in .cfg file

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


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
throughout Allegro.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/