delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/07/11:32:23

Message-ID: <3551CF9E.3A@bergen.mail.telia.com>
Date: Thu, 07 May 1998 17:13:34 +0200
From: John Kismul <john DOT kismul AT bergen DOT mail DOT telia DOT com>
Reply-To: john DOT kismul AT bergen DOT mail DOT telia DOT com
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Soundcard problem with Allegro
References: <354F49B2 DOT 44C5 AT bergen DOT mail DOT telia DOT com> <MLq04KAtO2T1EwUO AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: t2o204p27.telia.com
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> >I've got a problem with my soundcard when using Allegro.
> >Sometimes the digital sound plays OK, sometimes it's distorted.
> >And every time I use digital sound, it stops playing after about one or
> >two minutes, while the MIDI music continues to play.
> 
> Does this happen with the Allegro test programs, or just your code?

I've tried the demo which comes with Allegro, and the sound works ok
there.
But I've looked at the source code for it, and the demo uses the
play_sample function
for playing sound while my game uses the voice functions, maybe that's
the problem.
 

> >Another thing, when using config files with Allegro, will Allegro use
> >the settings such as, digi_card, sb_port etc etc automatically when I
> >install the sound driver,
> 
> Yes, assuming that it can find the config file (ie. that it is in the
> same directory as your program, or the location pointed to by the
> ALLEGRO environment variable).

Ok, but when I install the sound driver, will this function use the
settings in the config file (digi_card) automatically, or do I have to
tell it what soundcard to use.

- Raw text -


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