[android-developers] Re: How to configure the sampling rate/period while audio capture?
Have found the solution. Used the AudioRecord and AudioTrack interfaces. On Sep 24, 12:55 pm, Vishal.Android vishal.andr...@gmail.com wrote: How to capture the audio data from mic into a buffer instead of a file? On Sep 23, 2:43 pm, Vishal Gaonkar vishal.andr...@gmail.com wrote: I am working on a VOIP based application. I need to capture the audio from mic at 8000 hz sampling rate, get the 20msec packets, encode and send the packets over the network. Can somebody tell me how to configure the mic for the desired sampling rate? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: How to configure the sampling rate/period while audio capture?
How to capture the audio data from mic into a buffer instead of a file? On Sep 23, 2:43 pm, Vishal Gaonkar vishal.andr...@gmail.com wrote: I am working on a VOIP based application. I need to capture the audio from mic at 8000 hz sampling rate, get the 20msec packets, encode and send the packets over the network. Can somebody tell me how to configure the mic for the desired sampling rate? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---