Mail Archives: djgpp/1998/05/07/11:32:23
> >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 -