jadonk / jadonk/rowboat

Sound Recorder does not work

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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@framework@framework.jar@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
```

Original issue reported on code.google.com by `michaelw...@gmail.com` on 29 Mar 2010 at 1:49

Contributor guide

No contributing guide indexed for this repository

Research direction

The reported entry point is the Sound Recorder application on Android 1.6 for OMAP3EVM; begin by reproducing the record/stop sequence and inspecting the supplied logcat, especially the AudioRecord and ALSA messages. Done means stopping a recording no longer terminates the application and the microphone data is transferred to a .3gp file.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.