Re: [linux-audio-dev] Glitchs using portaudio

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Glitchs using portaudio
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Mon Mar 15 2004 - 15:51:41 EET


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Mar 15 2004 - 15:50:46 EET