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 <tacbe...@gmail.com> wrote: > 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 <benjamin.j.mcc...@gmail.com> wrote: > > > The 1.5 SDK includes "Raw audio recording and playback APIs". I think > > I'd take a look > > athttp://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 calls > > while MediaRecorder wraps AudioRecord to provide a slightly friendlier > > interface and additonal encoding. It's hard to tell from the JavaDocs > > alone. > > Here's a post talking about AudioRecord > > instantiation:http://groups.google.com/group/android-developers/browse_thread/threa... > > > On Apr 27, 5:23 pm, intbt <tacbe...@gmail.com> wrote: > > > > Is there a method to access the digital output of the audio codec > > > without first storing it into a file, a streaming output? > > > > intbt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---