Mail Archives: djgpp/2000/01/31/07:48:41
Osah writes:
> I wrote a program with allegro to get input from the microphone from
> the user and output it to the speakers at the same time, but i don't
> seem to be getting the desired results from either the microphone or
> speakers. Below are the code listings
Did you check whether the akaitest program works on your machine?
If not, maybe Allegro just doesn't support input on your soundcard
(currently only the SB driver has input support, and this code is
unlikely to work correctly on most SB clone cards).
Assuming that akaitest works, all I can suggest is to go through it's
source and try to see what is different to your program. I don't see
anything obviously wrong with your code, but don't have any way to
test it myself (I don't have any soundcards that work with the Allegro
input code at the moment).
Shawn Hargreaves.
- Raw text -