Re: [android-developers] Re: Using the AudioRecord API

2011-01-24 Thread Ben McCann
Hi Tom, Yes, I did get it figured out. Here's a writeup I posted on my blog. http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ -Ben http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ Hi there, Did you ever have any luck with this AudioRecord API? There are

[android-developers] Re: Using the AudioRecord API

2009-05-19 Thread benmccann
Thanks for the response. I'm still foggy on the API usage though. I basically want to listen to the mic and continually process the incoming audio. Should I be using the OnRecordPositionUpdateListener at all? Or should it look something like: recorder.startRecording()

[android-developers] Re: Using the AudioRecord API

2009-05-19 Thread Dave Sparks
You probably don't need the callback interface. The read() will block until the buffer is full. If you are getting buffer overflows, you are probably spending too much time in your doSomething() call. On May 19, 11:59 am, benmccann benjamin.j.mcc...@gmail.com wrote: Thanks for the response.  

[android-developers] Re: Using the AudioRecord API

2009-05-15 Thread benmccann
Any ideas? Thanks, Ben On May 15, 1:02 am, benmccann benjamin.j.mcc...@gmail.com wrote: Hi, I'm trying to figure out how to use theAudioRecordclass.  I created a callback with a logging message, but don't ever see it called.  Do you see anything wrong with what I'm doing?  Do you have an

[android-developers] Re: Using the AudioRecord API

2009-05-15 Thread Dave Sparks
You need to call the read() method. On May 15, 3:15 pm, benmccann benjamin.j.mcc...@gmail.com wrote: Any ideas? Thanks, Ben On May 15, 1:02 am, benmccann benjamin.j.mcc...@gmail.com wrote: Hi, I'm trying to figure out how to use theAudioRecordclass.  I created a callback with a