Opened 9 years ago

Closed 9 years ago

#34 closed task (fixed)

Port QSound

Reported by: dmik 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 9 years ago by dmik

  • Priority changed from major to blocker

A must for GA.

comment:2 Changed 9 years ago by diver

  • Milestone changed from Qt GA to Qt Beta4

comment:3 Changed 9 years ago by dmik

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 9 years ago by dmik

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 9 years ago by diver

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

comment:6 Changed 9 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

Ok, good.

Note: See TracTickets for help on using tickets.