delorie.com/archives/browse.cgi | search |
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: | <ee953275.0111271953.33def90e@posting.google.com> |
References: | <ee953275 DOT 0111221957 DOT 37c5d1a2 AT posting DOT google DOT com> <8011-Fri23Nov2001102901+0200-eliz AT is DOT elta DOT co DOT il> <ee953275 DOT 0111250744 DOT 4eeb3ac4 AT posting DOT google DOT com> <9tvusg$b09$1 AT news4 DOT isdnet DOT net> |
NNTP-Posting-Host: | 66.92.149.119 |
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" <ebotcazou AT libertysurf DOT fr> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |