[android-developers] Re: audio codec

2009-06-03 Thread intbt
I am having a problem retrieving codec output and listing the bytes. Following the Breno/Sparks thread I was able to get past the errors with initializing Audio Record and my code seems to run but I get all 0's as output. I assume I am missing something in AudioRecord.read? I am trying to look at

[android-developers] Re: audio codec

2009-04-28 Thread Dave Sparks
AudioRecord gives you access to 16-bit PCM audio from the microphone and AudioTrack gives you a way to output 16-bit PCM audio to the output device. On Apr 28, 8:50 am, intbt wrote: > Thanks, I think AudioTrack may be what I am looking for to read the > codec output??? > > http://developer.andro

[android-developers] Re: audio codec

2009-04-28 Thread intbt
Thanks, I think AudioTrack may be what I am looking for to read the codec output??? http://developer.android.com/reference/android/media/AudioTrack.html On Apr 27, 6:11 pm, benmccann wrote: > The 1.5 SDK includes "Raw audio recording and playback APIs".  I think > I'd take a look > athttp://

[android-developers] Re: audio codec

2009-04-27 Thread benmccann
The 1.5 SDK includes "Raw audio recording and playback APIs". I think I'd take a look at http://developer.android.com/reference/android/media/AudioRecord.html I'm not real sure how AudioRecord and MediaRecorder work together, if at all. It looks like maybe AudioRecord is closer to the native ca