<?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[MediaPlayer to play source more than once]]></title><description><![CDATA[<p dir="auto">I try to play a sound in mousearea's onClick and it doesn't play on the next presses.</p>
<p dir="auto">As a workaround I reassign MediaPlayer's source property to "" and then to the same file to play it twice and more.</p>
<p dir="auto">What is the right way to play the same media multiple times (not looped) on some event?</p>
]]></description><link>https://forum.qt.io/topic/43645/mediaplayer-to-play-source-more-than-once</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 03:15:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/43645.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Jul 2014 05:50:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MediaPlayer to play source more than once on Mon, 14 Jul 2014 07:34:11 GMT]]></title><description><![CDATA[<p dir="auto">Ok, thx!</p>
]]></description><link>https://forum.qt.io/post/235710</link><guid isPermaLink="true">https://forum.qt.io/post/235710</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 14 Jul 2014 07:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to MediaPlayer to play source more than once on Mon, 14 Jul 2014 07:31:33 GMT]]></title><description><![CDATA[<p dir="auto">I suggest you to don't use encoded sounds for sound effects because they cannot played with low-latency, and hence the user might experience a sensible delay on some devices.<br />
So, even if QSoundEffect would play MP3, I strongly advice you to convert the sound effects into .WAV :-)</p>
]]></description><link>https://forum.qt.io/post/235708</link><guid isPermaLink="true">https://forum.qt.io/post/235708</guid><dc:creator><![CDATA[Gianluca]]></dc:creator><pubDate>Mon, 14 Jul 2014 07:31:33 GMT</pubDate></item><item><title><![CDATA[Reply to MediaPlayer to play source more than once on Mon, 14 Jul 2014 07:27:06 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="Gianluca" date="1405322092"]Try the QSoundEffect (I didn't try, but the documentation says that what your are looking for :-P) [/quote]</p>
<p dir="auto">As far as I remember It doesn't play mp3 does it?<br />
Of course I could convert them to wav but I thought there is a better way.</p>
]]></description><link>https://forum.qt.io/post/235707</link><guid isPermaLink="true">https://forum.qt.io/post/235707</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 14 Jul 2014 07:27:06 GMT</pubDate></item><item><title><![CDATA[Reply to MediaPlayer to play source more than once on Mon, 14 Jul 2014 07:14:52 GMT]]></title><description><![CDATA[<p dir="auto">Try the QSoundEffect<br />
(I didn't try, but the documentation says that what your are looking for :-P)</p>
]]></description><link>https://forum.qt.io/post/235704</link><guid isPermaLink="true">https://forum.qt.io/post/235704</guid><dc:creator><![CDATA[Gianluca]]></dc:creator><pubDate>Mon, 14 Jul 2014 07:14:52 GMT</pubDate></item></channel></rss>