gstreamer 0.10 : High CPU utilization when alsasrc is disconnected

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gstreamer 0.10 : High CPU utilization when alsasrc is disconnected

1,057件の閲覧回数
karthikuppund
Contributor I

Hi,

I am observing high CPU utilization (~78%) when alsasrc is disconnected. Particularly audiosrc-ring buffer is shooting high. I am using iphone as alsa device.

Below is the pipeline I am running on imx6 board:

gst-launch-0.10 alsasrc device=hw:x,y ! audiconveert ! audioresample ! autoaudiosink

Steps to reproduce:

  1. run gst-launch-0.10 alsasrc device=hw:x,y ! audiconveert ! audioresample ! autoaudiosink
  2. disconnect alsasrc ( iphone in my case)
  3. run top -p <PID of gst-launch-0.10>H

Frequency of reproducibility :ALWAYS

This issue is not observed in gstreamer 1.0. The audiosrc-ring buffer vanishes as soon as alsasrc is disconnected in gstreamer 1.0

ラベル(6)
タグ(2)
0 件の賞賛
返信
1 返信

720件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  Looks like a bug in alsasrc - perhaps it makes sense to try

the recent BSP or use the gstreamer 1.0

http://www.freescale.com/webapp/Download?colCode=L3.14.38_6UL_LINUX_DOCS&Parent_nodeId=1337699481071...


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信