Hi,
   I have trouble recording audio from line-in. If i record for say
30secs and then when i try to playback that .3gpp file...it plays for
approx 1/3rd the actual recorded time. Also the audio playback is 4x
the actual speed. The above problem is in Android UI using
SoundRecorder application.
If i use alsa_arecord utility as below from android command prompt:
# ./alsa_arecord -c 2 -r 48000 -f S16_LE -Dhw:0,1 test.wav
then it records properly.
In logcat i could see that the recording is done at 8khz whereas the
playback is done at 44.1khz.
Please let me know how can i fix this.
Also i would like to know how to change the output file format. i
tried few changes in AndroidManifest.xml inside SoundRecorder
directory.

Regards,
D Krishna Mohan

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to