<div dir="ltr">Hi,<div><br></div><div>I have some issue with my very first native Sailfish game: there is some problem with audio.</div><div><br></div><div>Game is using QML & Javascript, it is mainly a PageStack and there are lots of Audio components in actual game Page. If there are more than 5 Audio elements there, app hangs-up mysteriously after leaving game Page (~GC tries to clean up the stuff?)</div><div><br></div><div>I've tried using MediaPlayer, too - then I was able to catch this warning in the log (QT_LOGGING_RULES="*.debug=true"):</div><div><font color="#0000ff" style="background-color:rgb(255,229,153)">Feb 13 22:32:20 Sailfish sion[13927]: [W] unknown:0 - appsrc: push buffer wrong state</font><br></div><div><br></div><div>Googling has given hint to¬†<a href="https://github.com/cedrus/qt/blob/master/qtmultimedia/src/gsttools/qgstappsrc.cpp">https://github.com/cedrus/qt/blob/master/qtmultimedia/src/gsttools/qgstappsrc.cpp</a></div><div><br></div><div>But I have no clue what can be wrong thus any help/idea is more than welcome...<br></div><div>If one is willing to review relevant piece of code of mine (~300lines of QML) that would be great help...</div><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">More details are here: <a href="https://together.jolla.com/question/175875/new-native-sailfish-game-in-harbour/?answer=179137#post-id-179137">https://together.jolla.com/question/175875/new-native-sailfish-game-in-harbour/?answer=179137#post-id-179137</a></span>

<br></div><div><br></div><div>Thx in advance,</div><div><br></div><div>Zoltan</div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>