[SailfishDevel] QML Audio causing app hang-up?

"Lutor, Zoltán" zoltan.lutor at gmail.com
Tue Feb 13 22:48:38 UTC 2018


I'm sorry for the 'no subject' - now corrected...

On Tuesday, February 13, 2018, Zoltán Lutor wrote:
> Hi,
> 
> I have some issue with my very first native Sailfish game: there is some
> problem with audio.
> 
> 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?)
> 
> I've tried using MediaPlayer, too - then I was able to catch this warning
> in the log (QT_LOGGING_RULES="*.debug=true"):
> Feb 13 22:32:20 Sailfish sion[13927]: [W] unknown:0 - appsrc: push buffer
> wrong state
> 
> Googling has given hint to
> https://github.com/cedrus/qt/blob/master/qtmultimedia/src/gsttools/qgstappsrc.cpp
> 
> But I have no clue what can be wrong thus any help/idea is more than
> welcome...
> If one is willing to review relevant piece of code of mine (~300lines of
> QML) that would be great help...
> 
> More details are here:
> https://together.jolla.com/question/175875/new-native-sailfish-game-in-harbour/?answer=179137#post-id-179137
> 
> Thx in advance,
> 
> Zoltan
> 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


More information about the Devel mailing list