Opened 11 years ago

Closed 11 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 Changed 11 years ago by Dmitry A. Kuminov

Priority: majorblocker

A must for GA.

comment:2 Changed 11 years ago by Silvan Scherrer

Milestone: Qt GAQt Beta4

comment:3 Changed 11 years ago by Dmitry A. Kuminov

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 Changed 11 years ago by Dmitry A. Kuminov

I've created #92 for tracking further QSound improvements.

Silvan, please check sound on your machine. If it works, we can close this defect.

comment:5 Changed 11 years ago by Silvan Scherrer

yes it works ;-) at least i have sound in bubbels game.

comment:6 Changed 11 years ago by Dmitry A. Kuminov

Resolution: fixed
Status: newclosed

Ok, good.

Note: See TracTickets for help on using tickets.