<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt 5.14.2 How can I display video via QSoundEffect in ARM embedded linux via ALSA]]></title><description><![CDATA[<p dir="auto">Hi，I'm trying to display a warning sound in my qt programm. The code likes</p>
<pre><code>QSoundEffect messageWarningEffect;
messageWarningEffect.setSource(QUrl("qrc:/Resources/Msg/danger.wav"));
messageWarningEffect.play();
</code></pre>
<p dir="auto">It works well in Ubuntu, but when I put it in my embedded board, it print</p>
<pre><code>PulseAudioService: pa_context_connect() failed
PulseAudioService: pa_context_connect() failed
PulseAudioService: pa_context_connect() failed
PulseAudioService: pa_context_connect() failed
PulseAudioService: pa_context_connect() failed
PulseAudioService: pa_context_connect() failed
</code></pre>
<p dir="auto">and i search noting in my board about <code>PulseAduio</code>, I also can't modify it's hardware.</p>
<p dir="auto">Now, I can display in command by <code>aplay</code>, that's means my board has ALSA support. So I wonder how can I use QSoundEffect by ALSA.</p>
]]></description><link>https://forum.qt.io/topic/145860/qt-5-14-2-how-can-i-display-video-via-qsoundeffect-in-arm-embedded-linux-via-alsa</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 08:01:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145860.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jun 2023 02:37:46 GMT</pubDate><ttl>60</ttl></channel></rss>