Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100638

SoundEffect fails to load .wav files

    XMLWordPrintable

Details

    • Windows
    • 9c6ae9afdd (qt/qtmultimedia/dev) 55eb4ad820 (qt/qtmultimedia/6.3) dfb0baa569 (qt/qtmultimedia/6.2) dfb0baa569 (qt/qtmultimedia/6.2.4) dfb0baa569 (qt/tqtc-qtmultimedia/6.2)

    Description

      The attached example loads the same .wav file in MediaPlayer and SoundEffect. There is a button for each which calls play() on the respective component.

      With MediaPlayer, the sound plays fine, whereas with SoundEffect it does not.

      There's also an error in the console:

      QSoundEffect(qaudio): Error decoding source targethit.wav

      Tested and reproduced on both 6.2 branch and dev branch.

      Attachments

        1. multimediatest.zip
          17 kB
          Eskil Abrahamsen Blomfeldt

        Activity

          People

            piotr Piotr Srebrny (Inactive)
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: