www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/29/11:49:17

From: "Eric Botcazou" <ebotcazou AT libertysurf DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: slow install_sound() on 486
Date: Thu, 29 Nov 2001 17:35:28 +0100
Lines: 30
Message-ID: <9u5o1s$211d$1@news5.isdnet.net>
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> <ee953275 DOT 0111271953 DOT 33def90e AT posting DOT google DOT com>
NNTP-Posting-Host: dyn-213-36-86-112.ppp.libertysurf.fr
X-Trace: news5.isdnet.net 1007051644 66605 213.36.86.112 (29 Nov 2001 16:34:04 GMT)
X-Complaints-To: abuse AT isdnet DOT net
NNTP-Posting-Date: 29 Nov 2001 16:34:04 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

Great ! 20 % better ;-)

> Rats.  Any further ideas?

Here's the definition of DIGI_DRIVER_SB:

#define DIGI_DRIVER_SB                                            \
      {  DIGI_SB16,        &digi_sb16,          TRUE   },         \
      {  DIGI_SBPRO,       &digi_sbpro,         TRUE   },         \
      {  DIGI_SB20,        &digi_sb20,          TRUE   },         \
      {  DIGI_SB15,        &digi_sb15,          TRUE   },         \
      {  DIGI_SB10,        &digi_sb10,          TRUE   },

Choose the right line for your card and insert it between
BEGIN_DIGI_DRIVER_LIST and END_DIGI_DRIVER_LIST.

--
Eric Botcazou
ebotcazou AT multimania DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019