AudioRecord

All your problems with Audio, Video and Images.

AudioRecord

Postby earlenceferns » Sat Aug 15, 2009 5:59 pm

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
earlenceferns
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Aug 15, 2009 5:53 pm

Top

Postby Svignesh » Mon Aug 17, 2009 9:03 am

Could you please give a link to te AudioRecord usage post mentioned?
Svignesh
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Aug 17, 2009 8:57 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests