www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/06/22:21:45

From: vecna AT inlink DOT com (vecna)
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP and MikMod problems (sound effects)
Date: 6 Feb 1997 21:26:03 GMT
Organization: Inlink
Lines: 38
Message-ID: <5ddi9b$pih$1@news1.inlink.com>
NNTP-Posting-Host: pm00329.inlink.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello there. :)

I'm working on a RPG engine (a construction-kit type thing) and I'm 
using MikMod 2.09 as my sound system. I have a GUS, which works 
perfectly. However, it has come to my attention that my SoundBlaster 
users aren't enjoying the same benefit. :) I've actually had several 
problems with MikMod so far, however, all but one I've been able to 
work around.

The one of primary conern is sound effects. This is a critical aspect 
to a game. The player works most of the time. Some modules when loaded 
at certain times have problems, but once a sound effect is played it 
cleans the sound up. (don't ask me..) However, on a Soundblaster - 
well, SOME (most) soundblasters, the sounds lag anywhere from about 
half a second to nearly a full two seconds. This is quite annoying. At 
first I thought this would be due to a large DMA buffer, but the DMA 
buffer seems to only be about 1/5 of a second, so the DMA lag should 
only be about 1/5 of a second max. I can't find any other explanation 
for these lags. I am REALLY happy with MikMod in most other ways, and 
there aren't really many alternative sound systems available for 
DJGPP, so I'd really appreciate if someone could help me figure out 
what's wrong.

If you want to check out the project itself, check out 
http://www.inlink.com/~vecna/crs.html. It's not mentioned on the main 
page purposely, but you can download a beta at ~vecna/beta.html. 
(RPG.ZIP is the only necessary file) If anyone is that interested, mail 
me and I'll send you the source code.

Yes, I am calling MD_Update(), and with sufficient delays. (At first I 
wasn't doing that since a GUS is immune to that :D) I realize that ver 
2.10 has been ported, but I have no use for the additional drivers, and 
that seems to be the only new things.

Thanks,

- vecna AT inlink DOT com

- Raw text -


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