On Mon, Mar 15, 2004 at 10:13:25 -0300, Ricardo Cirigliano wrote:
Hi! I´m using portaudio to capture continous voice
using buffers of
200ms. I´m using 2 buffers in order to be able to make some process
in one of them while I capture voice with the other one. However,
every time I change the buffer that will receive the information a
glitch occurs. Does anyone know how can I avoid this without using
threads? Thanks!!!
Just use memcpy to copy the data out of the buffer you get from portaudio,
rather than changing the buffer.
- Steve