On Jun 2, 4:30 am, archerypp <[email protected]> wrote:
> Hi,
>
>   I also met this problem.
>
>   When I modified it as you mentioned, voice can be recorded but it
> can only record 1 or 2 seconds.

Any update on this? Did someone got it solved. I am facing the same
issue.

>
>   Then same log occurs again:
>
> I/AudioHardwareALSA(  553): Initialized ALSA CAPTURE device
> AndroidRecord_Speaker_normal
> D/AudioHardwareALSA(  553): Set CAPTURE PCM format to S16_LE (Signed
> 16 bit Little Endian)
> D/AudioHardwareALSA(  553): Using 1 channel for CAPTURE.
> D/AudioHardwareALSA(  553): Set CAPTURE sample rate to 8000 HZ
> D/AudioHardwareALSA(  553): Buffer size: 16384
> D/AudioHardwareALSA(  553): Latency: 2048000
> W/AudioRecord(  553): obtainBuffer timed out (is the CPU pegged?)
> user=00000000, server=00000000
> W/AudioFlinger(  553): AudioRecordThread: buffer overflow
> D/dalvikvm(  602): GC freed 3171 objects / 195408 bytes in 449ms
> D/dalvikvm(  625): GC freed 1913 objects / 117352 bytes in 178ms
> W/AudioRecord(  553): obtainBuffer timed out (is the CPU pegged?)
> user=00004500, server=00004500
>
> On 4月9日, 下午3时20分, forest <[email protected]> wrote:
>
> > i know.
>
> > because add "&& (int)buffer.frameCount == inFrameCount"
> > in frameworks/base/libs/audioflinger/AudioFlinger.cpp:2462
>
> > delete this is ok,but don't know why add this?
>
> > On 4月3日, 下午5时42分, forest <[email protected]> wrote:
>
> > > the newest version can'trecordvoice
> > > log:
> > > I/AudioHardwareALSA(   49): Initialized ALSA CAPTURE device
> > > AndroidRecord_Microphone
> > > D/AudioHardwareALSA(   49): Set CAPTURE PCM format to S16_LE (Signed
> > > 16 bit Little Endian)
> > > D/AudioHardwareALSA(   49): Using 1 channel for CAPTURE.
> > > D/AudioHardwareALSA(   49): Set CAPTURE sample rate to 8000 HZ
> > > W/AudioFlinger(   49): AudioRecordThread: buffer overflow
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > D/dalvikvm(  109): GC freed 388 objects / 16736 bytes in 128ms
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > W/AudioRecord(   49): obtainBuffer timed out (is the CPU pegged?)
> > > user=00000fa0, server=00000fa0
> > > ......
>
> > > who know why,thanks- 隐藏被引用文字 -
>
> > - 显示引用的文字 -

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

Reply via email to