error when cross-compiling "snapcast": [Notice] No chunk received for 5000ms. Closing ALSA.

Destription: I got an error when coss-compiling project "snapcast", which is shown as below:

2019-06-03 20-12-27 [Info] Sleep -2, age: -4, bufferDuration: 21
2019-06-03 20-12-27 [Info] Sleep -2, age: -3, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep -1, age: -2, bufferDuration: 21
2019-06-03 20-12-28 [Info] Chunk: -29    -29    -29    -29    1    70
2019-06-03 20-12-28 [Info] Sleep 0, age: -1, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep 0, age: -2, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep 0, age: -1, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep 0, age: -2, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep 0, age: -1, bufferDuration: 21
2019-06-03 20-12-28 [Info] Sleep 0
2019-06-03 20-12-29 [Info] Chunk: -18    -17    -18    -18    30    71
2019-06-03 20-12-30 [Info] Chunk: -18    -20    -18    -18    77    71
2019-06-03 20-12-31 [Info] Chunk: -19    -21    -21    -20    124    70
2019-06-03 20-12-31 [Info] Failed to get chunk
2019-06-03 20-12-36 [Notice] No chunk received for 5000ms. Closing ALSA.

2019-06-03 20-14-00 [Err] Exception in Controller::worker(): connect: No route to host
2019-06-03 20-14-00 [Err] Error in socket shutdown: Transport endpoint is not connected
2019-06-03 20-14-03 [Err] Exception in Controller::worker(): connect: No route to host
2019-06-03 20-14-03 [Err] Error in socket shutdown: Transport endpoint is not connected

2019-06-03 20-14-06 [Err] Exception in Controller::worker(): connect: No route to host
2019-06-03 20-14-06 [Err] Error in socket shutdown: Transport endpoint is not connected

I didn't pay attention to "Exception in Controller::worker(): connect: No route to host" in the beginning. Because of no sound played by compiled snapcast, I mistook it for other reasons. I had not got solutions for a long time on the Internet.


Reason:

the log "[Notice] No chunk received for 5000ms. Closing ALSA." is not an error at all. Its target is to release the sound card when no data is played. The real reason why I did not make it happen is network paralysis and i could not ping server address successfully, as is shown "connect: No route to host".Therefore, you have to be cautious of every line of logs. After I used other devices that have good networking status to run "snapcast", everything is ok.

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值