Hi,
I have gone thru the AudioRecord usage post on this forum. However, I get "buffer overflow" messages after a certain period of time. This results in packet losses. I am current using this config
8Khz, 16bitPCM, Mono, 20ms packet(320 bytes).
I execute a "read" every 20ms (Is this the right way to do it?)
Then I post a message to a Looper I'm running that does some processing on this PCM block.
How do I accurately time reads and transfers so that I dont lose any bytes of audio?
What are the optimal buffer sizes for the above mentioned Config?
Cheers,
Earlence


