www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/10/12:43:52

From: "Ben Davis" <ben AT vjpoole DOT freeserve DOT co DOT uk>
Newsgroups: comp.games.development.programming.misc,comp.os.msdos.djgpp
Subject: Re: Allegro Sounds Squeaking and Cutting Off
Date: Sun, 10 Oct 1999 13:39:01 +0100
Organization: Customer of Planet Online
Lines: 11
Message-ID: <7tq1du$vv6$1@news4.svr.pol.co.uk>
References: <7tj2lh$n15$2 AT news7 DOT svr DOT pol DOT co DOT uk> <37FD2CAB DOT 2576 AT earthlink DOT net> <7tlbd0$1kv$1 AT news7 DOT svr DOT pol DOT co DOT uk>
NNTP-Posting-Host: modem-116.slamdunk.dialup.pol.co.uk
X-Trace: news4.svr.pol.co.uk 939559166 32742 62.136.207.116 (10 Oct 1999 12:39:26 GMT)
NNTP-Posting-Date: 10 Oct 1999 12:39:26 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Just to say I've solved the problem. I looked in the Allegro source code,
and found that the mixer interrupt routines are re-entrant. My interrupt was
occurring during mixing, and it was deallocating voices. I've modified it to
deallocate them from the main program, and it now works perfectly.

By the way, by 'digitised music' I mean sequenced samples of instruments.
Very memory-efficient, and very good quality!

Ben Davis


- Raw text -


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