Opened 15 years ago
Closed 15 years ago
#34 closed task (fixed)
Port QSound
Reported by: | Dmitry A. Kuminov | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Qt Beta 4 |
Component: | QtGui | Version: | 4.5.1 Beta 1 |
Severity: | Keywords: | ||
Cc: |
Description
Provide the OS/2 version of the QSound class.
Change History (6)
comment:1 by , 15 years ago
Priority: | major → blocker |
---|
comment:2 by , 15 years ago
Milestone: | Qt GA → Qt Beta4 |
---|
comment:3 by , 15 years ago
Ported QSound in r250. Luckily, QSound hasn't changed a lot since Qt3, so it turned to be a relatively straightforward port (and simple tests show that it works well). This means that the current implementation uses MMPM which gives it the same benefits and pitfalls as in Qt3 for OS/2. The main pitfall is on systems that use uniaud drivers; the alsa<->MMPM bridge there isn't always stable which may produce system hangs when playing sounds or even kernel traps.
Note that by default, sounds are played in exclusive mode because this proved to be more stable (at least with uniaud drivers installed). In order to enable shared mode (so that more than one sound can be played at a time), the QT_PM_SOUND_SHARE environment variable must be set to a non-empty value before starting the Qt application.
comment:4 by , 15 years ago
I've created #92 for tracking further QSound improvements.
Silvan, please check sound on your machine. If it works, we can close this defect.
A must for GA.