From: mcchow AT onebox DOT com (Jabez McClelland) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: slow install_sound() on 486 Date: 27 Nov 2001 19:53:29 -0800 Organization: http://groups.google.com/ Lines: 23 Message-ID: References: <8011-Fri23Nov2001102901+0200-eliz AT is DOT elta DOT co DOT il> <9tvusg$b09$1 AT news4 DOT isdnet DOT net> NNTP-Posting-Host: 66.92.149.119 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1006919609 28531 127.0.0.1 (28 Nov 2001 03:53:29 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 28 Nov 2001 03:53:29 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eric Botcazou" wrote in message news:<9tvusg$b09$1 AT news4 DOT isdnet DOT net>... > > install_sound() still takes exactly 45 seconds to execute. There is > > absolutely no disk activity during this wait. It's exactly as if > > there were a sleep(45) command in the code somewhere. > > Try to disable some audio drivers (see the docs, section "reducing your > executable size"). Thanks for the suggestion, Eric. I now have BEGIN_DIGI_DRIVER_LIST DIGI_DRIVER_SB END_DIGI_DRIVER_LIST in the code. 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? TIA, Jabez