cancel
Showing results for 
Search instead for 
Did you mean: 

Ping pong buffers in speech IO

ssena.1514
Associate III

Hi,

I am trying to implement a speech IO system using stm32f4 discovery board. For this I am using interrupt for extracting(from digital mic) pcm samples to a buffer & for output(using polling) I am continously writing circularly the same buffer content to the codec.

In this case I am getting noise at the output & some signal content. So shall I use ping pong buffer for smooth playback or a single buffer is sufficient?

Can you please explain?

Thanks & Regards

Satyabrata Senapati

0 REPLIES 0