Opened 14 years ago
Closed 14 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.
Note:
See TracTickets
for help on using tickets.
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.