Details
-
Task
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
-
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
- relates to
-
QTBUG-112512 QSoundEffect cuts out on very short sounds ( ~ 0.2 - 0.3 seconds )
-
- Closed
-
-
QTBUG-130114 Create manual test for investigating cut sounds on Windows
-
- Closed
-
For Gerrit Dashboard: QTBUG-130115 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
598307,6 | Refactor QWindowsAudioSink | dev | qt/qtmultimedia | Status: MERGED | +2 | +1 |
598308,11 | Only reset audio client when format or buffer size has changed | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598489,5 | Return std::chrono::microseconds from AudioClient::remainingPlayTime() | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598490,3 | Use quint64 to report number of free bytes in AudioClient | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598680,2 | Refactor QWindowsAudioSink | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598982,2 | Only reset audio client when format or buffer size has changed | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598983,2 | Return std::chrono::microseconds from AudioClient::remainingPlayTime() | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
598984,2 | Use quint64 to report number of free bytes in AudioClient | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
601281,2 | Refactor QWindowsAudioSink | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
601285,2 | Only reset audio client when format or buffer size has changed | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
601286,2 | Return std::chrono::microseconds from AudioClient::remainingPlayTime() | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
601289,2 | Use quint64 to report number of free bytes in AudioClient | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |