Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › BackgroundMusic

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6651

    Nour

    Hi

    I am using BackGroundMusic for my game music but when I mute the game using backgroundMusic.stop() then lock the device or going to mobile background then open the game  then the results is: the music play automatically!!

    thats strange!!!!!!

     

    Please, can you advice in this?

     

    Thanks

     

    #6664

    Alex
    Felgo Team

    Hi,

    yeah you are right, currently the BackgroundMusic component is designed to loop nonstop unless it is disabled with settings.musicEnabled = false or the volume is set to 0 (this doesn’t work on windows at the moment but will be added with the next daily build).

    We will add some more “intelligence” to the BackgroundMusic item, to save it’s current state when the device is locked or the app goes to the background, and then restore this state instead of starting it again in any case, like it’s done now. This will also be available within the next daily build.

    Do you have a specific use case where you encountered this problem?

    Cheers,
    Alex

    #6667

    Nour

    Hi

    Solved by muting the BackgroundMusic by setting the volume to 0

     

    Thanks for support

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

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded