Hi ,

           I am unable to record audio in android using SoundRecorder.apk on
OMAP3EVM. Iam trying to record audio from
           line IN cable, the same thing the I have specified in the
asound.conf as default audio record as LINE IN.


           I am getting bellow messages when trying to record.

           I/ActivityManager(  670): Displayed activity
com.android.soundrecorder/.SoundRecorder: 1123 ms
          D/dalvikvm(  826): GC freed 2779 objects / 181112 bytes in 87ms
          E/MediaPlayer(  670): Unable to to create media player
          W/AudioService(  670): MediaPlayer IOException:
java.io.IOException: setDataSource failed.: status=0x80000000
           I/AudioHardwareALSA(  652): Initialized ALSA CAPTURE device
hw:00,0
           D/AudioHardwareALSA(  652): Set CAPTURE PCM format to S16_LE
(Signed 16 bit Little Endian)
          E/AudioHardwareALSA(  652): Unable to set channel count to 1:
Invalid argument
          W/AudioFlinger(  652): AudioRecordThread: buffer overflow
          W/AudioRecord(  652): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
          W/AudioRecord(  652): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
          W/AudioRecord(  652): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
          W/AudioRecord(  652): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
          W/AudioRecord(  652): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000

         After I stop the record. I can see the recorded file(
recordxxx.3gpp) in /sdcard  but recorded file size bytes is zero. Its not
recording
         anything.

         Can any one help to fix this issue  or guide me what am I doing
wrong.

Regards,
Shariff

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to