Pulseaudio + Yocto + Systemd

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

Pulseaudio + Yocto + Systemd

ソリューションへジャンプ
8,966件の閲覧回数
caiopereira
Contributor III

Hello,

I'm trying to add the pulseadio into my Image

So I added these lines in my local.conf

DISTRO_FEATURES_append = " pulseaudio opengl wifi ethernet loopback udev dbus systemd"

IMAGE_INSTALL_append = " qtbase qtbase-fonts qtbase-plugins qtmultimedia qtmultimedia-plugins qtmultimedia-qmlplugins qtbase-examples cinematicexperience tslib tslib-calibrate tslib-conf tslib-tests sisc imx-vpu  gpu-viv-bin-mx6q sqlite3  packagegroup-fslc-gstreamer1.0 dbus pulseaudio pulseaudio-server pulseaudio-misc pulseaudio-module-dbus-protocol alsa-utils i2c-tools"

PACKAGECONFIG_append_pn-pulseaudio = " systemd"

But when the Linux boot the pulseaudio doesn't start, there's no pulseadio.service.

When I try to run the pulseaudio with --system or -nC ,I get some error in the console. Which is the best way to starts pulseaudio with dbus and systemd?

Someone could help me?

Yocto 1.7.

Thank you very much.

Best Regards

Caio Pereira

ラベル(4)
0 件の賞賛
返信
1 解決策
4,820件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Caio

dbus systemd is not supported in nxp/fsl linux bsps, as for pulseaudio

configuration with linux one can look at attached linux guide

sect.7.4 Pulseaudio input/output settings.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
4,820件の閲覧回数
caiopereira
Contributor III

After add the root into pulse group I could use the pulseaudio

gpasswd -a root audio

pulseaudio --system

I test the pulse audio using the gstreamer.

gst-launch-0.10 filesrc location=/usr/share/sounds/alsa/Front_Right.wav ! wavparse ! pulsesink

But the audio it's crackling, it's horrible.

I tryed with pulseaudio --system --realtime, but I couldn't resolve the latency problem.

Someone could give an advice to configure the pulseaudio?

Thank you!

0 件の賞賛
返信
4,821件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Caio

dbus systemd is not supported in nxp/fsl linux bsps, as for pulseaudio

configuration with linux one can look at attached linux guide

sect.7.4 Pulseaudio input/output settings.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------