yucemahmut / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
0 stars 0 forks source link

Problem in recording audio on Froyo #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Speech Recorder
2. Press Record Button
3. Watch the app die

What is the expected output? What do you see instead?
A message saying the application is crashed.

What version of the product are you using? On what operating system?
I'm using the build android-on-freerunner-froyo-daily-20110707.tar.gz from 
ran000

Please provide any additional information below.

The same error happens with Voice Dialer also.

logcat output:

I/ActivityManager(  956): Displayed activity 
com.android.speechrecorder/.SpeechRecorderActivity: 1574 ms (total 1574 ms)
D/SpeechRecorderActivity( 2207): mRecord.OnClickListener.onClick
D/SpeechRecorderActivity( 2207): setupRecording
D/SpeechRecorderActivity( 2207): going to record 
/data/data/com.android.speechrecorder/app_recordings/call_adam_varro.wav
D/dalvikvm( 2207): GC_FOR_MALLOC freed 1035 objects / 71016 bytes in 111ms
D/ALSAModule(  906): open called for devices 00040000 in mode 0...
E/ALSAModule(  906): Unable to set channel count to 1: Invalid argument
I/ALSAModule(  906): Initialized ALSA CAPTURE device AndroidCapture
D/ALSAModule(  906): open called for devices 00040000 in mode 0...
E/ALSAModule(  906): Unable to set channel count to 1: Invalid argument
I/ALSAModule(  906): Initialized ALSA CAPTURE device AndroidCapture
E/AudioRecord( 2207): Could not get audio input for record source 1
E/srec_jni( 2207): initCheck error -22 
D/SpeechRecorderActivity( 2207): run audio capture thread
W/dalvikvm( 2207): threadid=7: thread exiting with uncaught exception 
(group=0x4001d7e8)
E/AndroidRuntime( 2207): FATAL EXCEPTION: Thread-8
E/AndroidRuntime( 2207): java.lang.NullPointerException
E/AndroidRuntime( 2207):        at 
com.android.speechrecorder.SpeechRecorderActivity$4.run(SpeechRecorderActivity.j
ava:192)
W/ActivityManager(  956):   Force finishing activity 
com.android.speechrecorder/.SpeechRecorderActivity
W/ActivityManager(  956): Activity pause timeout for HistoryRecord{43dd34a8 
com.android.speechrecorder/.SpeechRecorderActivity}
I/ActivityManager(  956): Process android.process.media (pid 2024) has died.
D/SpeechRecorderActivity( 2207): stopRecording

Original issue reported on code.google.com by deli...@gmail.com on 25 Jul 2011 at 7:15