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

Investigate reason for cut sound with QSoundEffect on Windows

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • 6.5.8, 6.8.1, 6.9.0 FF
    • None
    • Multimedia
    • None
    • Windows
    • c76445553 (dev), 6f66802b2 (6.8), 3446ea12c (dev), 3dd824a2f (dev), 7b3795840 (dev), 32068854c (6.8), 86ff98b2b (6.8), 62f36f686 (6.8), 82323a263 (tqtc/lts-6.5), 5ac7112d0 (tqtc/lts-6.5), 6a33fab69 (tqtc/lts-6.5), 875fa8722 (tqtc/lts-6.5)
    • Multimedia wk 43-44

    Description

      The qml-minimal-sound-effect manual test plays a sound that should have two distinct peaks, like two drops hitting the water. When played on Windows, only one is heard, even with environment variable QT_DISABLE_AUDIO_PREPARE=0

      Note that when adding a Sleep(500) before releasing the m_audioClient in QWindowsAudioSink::close() fixes the problem, even with QT_DISABLE_AUDIO_PREPARE=1. This might indicate that the IAudioClient interface is released before it is finished playing.

      See sequence diagram for the setup of QSoundEffect with the qml-minimal-sound-effect manual test, where releasing the IAudioClient interface happens at the very bottom.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              johanseg Jøger Hansegård
              johanseg Jøger Hansegård
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: