What steps will reproduce the problem?
1. Click sound recorder application.
2. Click record.
3. Click stop.
4. The application is terminated.
What is the expected output? What do you see instead?
This application should start to record the sound from MIC and transfer
data to *.3gp when clicking stop. However, the application is terminated
when clicking stop. logcat shows:
E/ALSALib ( 799): external/alsa-lib/src/pcm/pcm.c:7231:(snd_pcm_recover)
underrun occured
I/dalvikvm( 819): DexOpt: mismatch dep signature for
'/data/dalvik-cache/system@[email protected]@classes.dex'
D/installd( 802): DexInv: --- BEGIN '/system/app/SoundRecorder.apk' ---
D/dalvikvm( 1113): DexOpt: load 40ms, verify 105ms, opt 0ms
D/installd( 802): DexInv: --- END '/system/app/SoundRecorder.apk'
(success) ---
I/ActivityManager( 819): Displayed activity
com.android.soundrecorder/.SoundRecorder: 1249 ms (total 1249 ms)
I/WindowManager( 819): Checking dispatch to: Window{43a70508 Keyguard
paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43a6cdb8 StatusBar
paused=false}
I/WindowManager( 819): Checking dispatch to: Window{43ac7db8
StatusBarExpanded paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43abce90 TrackingView
paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43b26f20
com.android.soundrecorder/com.android.soundrecorder.SoundRecorder paused=false}
E/ALSALib ( 799): external/alsa-lib/src/pcm/pcm.c:7231:(snd_pcm_recover)
underrun occured
E/ALSALib ( 799):
external/alsa-lib/src/pcm/pcm.c:2201:(snd_pcm_open_noupdate) Unknown PCM
AndroidRecord_Speaker_normal
E/ALSALib ( 799):
external/alsa-lib/src/pcm/pcm.c:2201:(snd_pcm_open_noupdate) Unknown PCM
AndroidRecord_Speaker
E/ALSALib ( 799):
external/alsa-lib/src/pcm/pcm.c:2201:(snd_pcm_open_noupdate) Unknown PCM
AndroidRecord
I/AudioHardwareALSA( 799): Initialized ALSA CAPTURE device default
D/AudioHardwareALSA( 799): Set CAPTURE PCM format to S16_LE (Signed 16 bit
Little Endian)
D/AudioHardwareALSA( 799): Using 1 channel for CAPTURE.
D/AudioHardwareALSA( 799): Set CAPTURE sample rate to 8000 HZ
D/AudioHardwareALSA( 799): Buffer size: 2048
D/AudioHardwareALSA( 799): Latency: 256000
D/AudioHardwareALSA( 799): Acoustics set_acoustics stub called with 7.
W/AudioFlinger( 799): AudioRecordThread: buffer overflow
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
I/WindowManager( 819): Checking dispatch to: Window{43a70508 Keyguard
paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43a6cdb8 StatusBar
paused=false}
I/WindowManager( 819): Checking dispatch to: Window{43ac7db8
StatusBarExpanded paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43abce90 TrackingView
paused=false}
I/WindowManager( 819): Not visible!
I/WindowManager( 819): Checking dispatch to: Window{43b26f20
com.android.soundrecorder/com.android.soundrecorder.SoundRecorder paused=false}
E/ALSALib ( 799): external/alsa-lib/src/pcm/pcm.c:7231:(snd_pcm_recover)
underrun occured
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
D/dalvikvm( 819): GC freed 37178 objects / 1769480 bytes in 111ms
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
D/dalvikvm( 1058): GC freed 200 objects / 9832 bytes in 70ms
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
W/AudioRecord( 799): obtainBuffer timed out (is the CPU pegged?)
user=00000000, server=00000000
What version of the product are you using? On what operating system?
Android 1.6 by rowboat for OMAP3EVM