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

Sound is not always played via Q(SoundEffect) and Q(MediaPlayer)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 6.2
    • 6.2.0
    • Multimedia
    • None
    • Windows 10, MSVC 2019

    Description

      Some sound effects are not always played (heard) via Q(SoundEffect) and Q(MediaPlayer).
      Probably it depends on effect duration. I tried to change sample rate and bitness of the sample, but with no luck.

      See attached simple example.
      Steps to reproduce:
      1. Run example
      2. Click on "Play in loop" button - ok, we just checked that there is a sound and there's no problem with the sample itself.
      3. Click on "Play once" button several times - sometimes (very often in my case) the sound is not heard at all.

      Reproduced al least on Windows.
      There was no such issue on Qt 5.15.2 so it looks as regression for new QtMultimedia in Qt 6.2.0.    see my comment below

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anrocha André De La Rocha (Inactive)
            studiosus Vladimir Belyavsky
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes