www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/25/19:15:43

From: SerDevian <scriven AT CS DOT ColoState DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SEVERE BUGS in ALLEGRO!
Date: Tue, 25 Feb 1997 13:32:39 -0700
Organization: XYZZ Software Co.
Lines: 34
Message-ID: <33134C67.2781@CS.ColoState.edu>
References: <5etiq7$ir1 AT bertrand DOT ccs DOT carleton DOT ca>
NNTP-Posting-Host: cassat.vis.colostate.edu
Mime-Version: 1.0
CC: pderbysh AT chat DOT carleton DOT ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:
> SEVERE BUG #1: After running an Allegro program that executes a
> play_sample at some point, then returning to DOS, if you then run another
> DOS program that uses sound, e.g. the test-sbc program that comes with a
> creative labs soundblaster, the result is a squawk from the soundcard and
> a system hang.

Have you been able to reproduce this event using any of the example
programs that come with Allegro?  Does this happen on computers other
than yours?  If so, there might be something wrong with Allegro's
sound.  Otherwise, it could be an "operator error" or a quirk with your
computer.

> SEVERE BUG #2: load_sample always returns NULL, even if the string it is
> sent as parameter is the fille name of a mono WAV exactly as per
> instructions. For instance, if I have C:\DJGPP\SOUND001.WAV, and the
> current directory is C:\DJGPP, absolutely NONE of these work,
> load_sample("SOUND001") or load_sample("SOUND001.WAV") or
> load_sample("C:\DJGPP\SOUND001.WAV") and it shoulld CERTAINLY WORK in the
> latter case, where it was given a FULL FILE PATH to a file that definitely
> EXISTS and is indeed a WAV file that is mono and not stereo.

Erm..  Using 'load_sample("C:\DJGPP\SOUND001.WAV");' should *not* work.

Use forward slashes or double-backslashes instead of single backslashes
in the pathname.

(also, you'll tend to get better replies if you don't sound angry)


-- Yamaha / XYZZ          "May farce the with be you."
mailto:scriven AT CS DOT ColoState DOT edu          
mailto:scriven AT VIS DOT ColoState DOT edu
http://www.vis.colostate.edu/~scriven/

- Raw text -


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