Hello there,
Following the Audio driver section, I changed the DEFAULT_SAMPLE_RATE to 44100, at various places (AudioRecord.h,alsa_handle_t _defaults[] ) etc.,
http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_PortingGuides#Audio
But still I cannot create an instance of AudioRecord using rate 44100hz, mode Stereo, only possible rate and mode is 8000hz and mono.
arec = new AudioRecord(MediaRecorder.AudioSource.MIC,
8000,
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT,
buffersize1);
Could anyone suggest what change I have to do for recording and playback with rate 44100 and mode Stereo?
Thanks in Advance.
A