Opened 13 years ago

Closed 13 years ago

#120 closed defect (fixed)

Sound implementation need to work in shared mode

Reported by: Yoda Owned by:
Priority: major Milestone: GA
Component: general Version: 1.6.0-b22 WSE
Severity: medium Keywords: sound
Cc:

Description

Currently sound seem to be implemented in exclusive mode only.
This is very annoying, as Java apps that only outputs sound now
and then, blocks all other OS/2 apps from playing any sound, as
long as Java app is running.

We need shared mode for Java - either as standard or
as an option. Could be by CMD line switch or an enviroment
variable.

Change History (1)

comment:1 by dmik, 13 years ago

Resolution: fixed
Status: newclosed

As far as I see, audio devices are already opened in shared mode in Odin everywhere except DSound. And, surprise, DSound is what's used by Java to produce sound.

For now, I simply enabled shared mode in DSound as well (r21664). We will see, if it starts making problems (like hangs in mmpm.dll we saw in Qt) I will disable it again and introduce an environment variable to enable sharing at runtime.

Here, shared mode works fine now.

Note: See TracTickets for help on using tickets.