Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Errors when using BackgroundMusic

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16999

    Kool

    Hi All,

    When using the BackgroundMusic component, I get the following errors in the console:

    shell\osshell\lmui\ntshrui\dll\shrengine.cpp(1487)\ntshrui.dll!60987A0A: (caller: 60982F44) ReturnHr(4) tid(38e8) 80004005 Unspecified error
    onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!4FB9F1B0: (caller: 4FB9EF78) ReturnHr(10) tid(38e8) 80070002 The system cannot find the file specified.
    onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!4FB9F1B0: (caller: 76640ED2) ReturnHr(11) tid(38e8) 80070002 The system cannot find the file specified.
    onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!4FB9F1B0: (caller: 76640ED2) ReturnHr(12) tid(38e8) 80070002 The system cannot find the file specified.

    The components do work as expected. If I have many different BackgroundMusic components, this can clog up the console and make debugging difficult.

    To reproduce it, open the FlappyBird demo and change the SoundEffectVPlay components in AudioManager to BackgroundMusic. When starting the game, you’ll get the above errors.

    I have two questions:

    1. Should I be concerned about this error?
    2. Is there a way to suppress it?

    Many thanks!

    #17006

    Günther
    Felgo Team

    Hi Kool!

    The BackgroundMusic component is based on the QML Audio type. The messages thus come from the underlying implementation by Qt and can be ignored as long as there is no actual issue.

    I don’t think there’s a way to suppress only these messages, but you can deactivate debug messages in general by switching the “stage” in your qml/config.json to “publish”.

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.