Unsolved Yocto with Qt5.5 and alsa support for playing audio
-
Hi,
I use Yocto (Jethro) to configure a Toradex imx6 board. At first I use pulseaudio for playing audio and gstreamer 1.0 to play videos in QML. As long as I do not play audio and video in the same application everything works well. So I want to use alsa for playing audio too. I removed pulseaudio server and Qt support for pulseaudio in my local.conf Yocto file and add alsa support to Qt. Now videos play well but QML audio finds no audio device. The following alsa packages are installed.
alsa-conf - 1.0.29-r0
alsa-conf-base - 1.0.29-r0
alsa-lib - 1.0.29-r0
alsa-plugins - 1.0.29-r0
alsa-state - 0.2.0-r5
alsa-states - 0.2.0-r5
alsa-utils - 1.0.29-r0
alsa-utils-aconnect - 1.0.29-r0
alsa-utils-alsactl - 1.0.29-r0
alsa-utils-alsaloop - 1.0.29-r0
alsa-utils-alsamixer - 1.0.29-r0
alsa-utils-alsaucm - 1.0.29-r0
alsa-utils-amixer - 1.0.29-r0
alsa-utils-aplay - 1.0.29-r0
alsa-utils-aseqdump - 1.0.29-r0
alsa-utils-aseqnet - 1.0.29-r0
alsa-utils-iecset - 1.0.29-r0
alsa-utils-midi - 1.0.29-r0
alsa-utils-speakertest - 1.0.29-r0
fsl-alsa-plugins - 1.0.25-r0
gstreamer1.0-plugins-base-alsa - 1.4.5-r0
packagegroup-base-alsa - 1.0-r83I found many hints in different forums that pulseaudio is highly integrated in Qt and is not easy to remove. So probably QML uses a wrong default device i.e. a non existent pulseaudio device. Any idea what I can do next?
My local conf file contains the following extensions:LICENSE_FLAGS_WHITELIST = "commercial"
IMAGE_INSTALL_append = "
qtbase
qtbase-fonts
qtbase-plugins
qtdeclarative
qt3d
qtgraphicaleffects
qtconnectivity
qtquickcontrols
qtquick1
qtimageformats
qtenginio
qtlocation
qtmultimedia
qtsensors
qtscript
qtserialport
qtsvg
qtcanvas3d
qttranslations
qtsystems
qtxmlpatterns
qttools
qtwebkit
alsa-lib
openal-soft
alsa-plugins
gstreamer1.0-libav
packagegroup-fsl-gstreamer1.0-full
libid3tag
lame
mpeg2dec
libmpeg2
gst-fluendo-mp3
mpg123
x264
"
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer alsa openal"
PACKAGECONFIG_remove_pn-qtmultimedia = " pulseaudio"
PACKAGECONFIG_append_pn-gstreamer1.0-plugins-ugly = "a52dec lame mad mpeg2dec x264"