Mail Archives: djgpp/2001/11/28/23:01:28
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message news:<Pine DOT SUN DOT 3 DOT 91 DOT 1011128103324 DOT 659J-100000 AT is>...
> On 27 Nov 2001, Jabez McClelland wrote:
>
> > install_sound(DIGI_AUTODETECT,MIDI_NONE,NULL) still
> > takes 36 seconds. Rats. Any further ideas? I'm thinking of copying
> > the code for install_sound() to my_install_sound() and adding a bunch
> > of timing diagnostics... But that's messy. Surely someone out there
> > knows what's going on in this function and can chime in?
>
> Since the sources are freely available, that someone could be you.
> Adding time measurements to the function and reporting results here
> might just be the missing piece in this puzzle; armed with that
> information, either you or someone else could find the reason and
> suggest a solution.
Problem solved! This is really moronic of me. I never ran setup.exe,
so I never made an allegro.cfg file. Apparently things still run
without the allegro.cfg file, but the routine must wait for a timeout
of some kind. Now that I have allegro.cfg, it's lightning fast!
(well, it's still a 486...)
Thought I'd post the resolution to this in case there are any lurkers.
How about adding the following FAQ:
Q: Why does install_sound take so long to execute?
A: Be sure you have run setup.exe and created a configuration file
allegro.cfg.
Bye,
Jabez
- Raw text -