cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/26/10:48:45

Message-ID: <F77915E7F086D31197F4009027CC81C90DC14A@probe-2.as-london.acclaim.com>
From: Shawn Hargreaves <SHargreaves AT acclaimstudios DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Allegro -- midi speed
Date: Fri, 26 Nov 1999 15:26:45 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

Rob McCrea writes:
> I had been using:
>    i_love_bill=FALSE;  // disable speed control
> Took me a few hours to figure out the reason why midis were playing at
> hyper-speed.
>
> What's the work around for this?

Take out the "i_love_bill=FALSE" line. When you write this, you are
telling Allegro to always use the high precision DOS-mode version of
the timer code, but as you have discovered, that doesn't work under
Windows. So don't do that: leave Allegro free to decide whatever
method works best in the environment where you are running it.

I can't think of any good reason why you should override that setting,
apart from perhaps if you were working in some strange OS where Allegro
thought the more accurate timer code wouldn't work, but in fact you
know that it will. You certainly shouldn't mess with this setting
unless you have a detailed understanding of what it does, and how all
that code works. The default behaviour is correct for every situation 
that I can imagine.


	Shawn Hargreaves.

- Raw text -


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