Bug 273698

Summary: If I start a java online game the sound on pc dies
Product: [Frameworks and Libraries] Phonon Reporter: lcn.mustard
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED NOT A BUG    
Severity: normal CC: martin.sandsmark, myriam
Priority: NOR    
Version First Reported In: 4.4.2 (KDE 4.5)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kde services

Description lcn.mustard 2011-05-20 07:47:51 UTC
Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

If I start a java online game the intire sound on pc dies.
I tried http://www.tuxapuntes.com/drupal/node/1962  but doesn't work.
soundboard: nvidia nforce 630a

Reproducible: Always

Steps to Reproduce:
Start vlc, amarok, gtick then go to the site http://www.seventhstring.com/tuner/tuner.html
Comment 1 Christoph Feck 2011-05-21 16:20:22 UTC
I am pretty sure Java applications do not use a sound server, but access ALSA libary directly. Phonon maintainers know better.
Comment 2 lcn.mustard 2011-05-24 00:03:42 UTC
Created attachment 60252 [details]
kde services

I notice that "sound policy" is not running in kde services. I don't kwon if it matters.
Comment 3 Harald Sitter 2011-08-14 18:33:22 UTC
No it does not matter, well, not particularly, though it should be running REALLY.

Anyhow, the issue is with Java hogging your output device, which eliminates awesomeness. That said, you should be using PulseAudio to prevent this from happening. AFAIK Java can integrate with PulseAudio, just like any other reasonable software, thus rendering this a non-issue at Phonon level. (not that we could do anything about broken software mixing anyway)