December 11th, 2004, 06:07 PM
C++ buffers in buffers
I have a little problem. I made a program that record from the microphone and when I press a button plays it. But I want to made it to plays in realtime, not to press a button. I think it can be done by buffers. But I want to add buffers at design time (the number and the size of buffers). I tried with char buf[i]=malloc(size), but it didn't record anything. Can anybody help we. If you want I can post the source that I use.