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 1 Support › Sound Bug with filename longer than 5 characters

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

    Konrad

    I encountered a bug on Windows (latest free Felgo version) while playing around with sounds and background music.

    This is what I got:

     

    “opening audio failed …… at calling mciSendCommand() with error code: 304”

    Sound{
            id: mgSound
            source: "music/abcdef.wav"
        }
    MouseArea{
                anchors.fill: parent
                onPressed: {
                    mgSound.play()
                    }

     

    BackgroundMusic{
            id: bgMusic
            source: "music/abcdef.wav"
        }

     

    Both did not work.

    The funny thing was, after I changed the filename to something shorter than 6 characters, it did work!

     

    Is this a known bug?

    #6595

    Konrad

    UPDATE:

     

    Nevermind, i checked again, the absolute file-path was too long.

    I copied it to a location with a shorter absolute filename and sounds with +6 characters are working again!

     

     

    Sorry!

    #6596

    Christian
    Felgo Team

    Hi lemacx,

    great you found the issue and welcome to the Felgo community. 🙂

    Cheers, Chris

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

RSS feed for this thread

You must be logged in to reply to this topic.