Android-问题-obtainBuffer timed out (is the CPU pegged?)

日志描述:

W/SocketClient( 2263): write error (Broken pipe)
I/Vitamio[Player]( 3755): Info (901, 478)
I/Vitamio[Player]( 3755): Info (901, 522)
W/SocketClient( 2263): write error (Broken pipe)
I/Vitamio[Player]( 3755): Info (901, 483)
I/Vitamio[Player]( 3755): Info (901, 501)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/SocketClient( 2263): write error (Broken pipe)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/SocketClient( 2263): write error (Broken pipe)
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45
D/dalvikvm( 2555): GC_CONCURRENT freed 533K, 16% free 4976K/5876K, paused 2ms+4ms, total 36ms
W/AudioTrack( 3755): obtainBuffer timed out (is the CPU pegged?) 0x689021c0 name=0x1user=007b0954, server=007afc45


U-Boot 2009.08-00680-ge564407-dirty ( 8月 20 2014 - 20:17:07)

CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 182
Temperature:   54 C, calibration data 0x57e4e469
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz

未知原因突然出现,然后重启。


相关资料:

1. http://blog.csdn.net/xiaokala_2011/article/details/8187927

EVDO蓝牙打电话后,挂断电话手机完全没有声音,这个问题产生的原因就是BT PCMmaster,主芯片PCM slave造成的,再挂断电话时有个提示音没有播出来。从log看是申请不到内存,其实是能看到obtainBuffer timed out (is the CPU pegged?)这句log,后来高通给了patch,是在audio_out.c文件做的修改

将audio_write()函数中的进程睡眠唤醒方式做了修改

rc = wait_event_interruptible(audio->wait,
           (frame->used == 0) || (audio->stopped));

改成

rc = wait_event_interruptible_timeout(audio->wait,
           (frame->used == 0) || (audio->stopped),
           msecs_to_jiffies(2000));


2. http://soledadpenades.com/2009/08/25/is-the-cpu-pegged-and-friends/

it means you are not filling in quickly enough the audio buffer for an AudioTrack, Or that it seems so






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值