Message-ID: <3551CF9E.3A@bergen.mail.telia.com> Date: Thu, 07 May 1998 17:13:34 +0200 From: John Kismul 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: t2o204p27.telia.com Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > >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.