Sounds are taken over by java programs

Bug #82099 reported by Niels van Reijmersdal
12
Affects Status Importance Assigned to Milestone
Sun Java
Confirmed
Unknown
sun-java6 (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Hardy by Michael B. Trausch

Bug Description

When running a java program which uses sounds (like for example the poker anywhere from www.partypoker.com) then i cant use sound in any other program (for example Rhytmbox).

Now when i shut down the Java program i still cant get the sound to work again, i restart everything with ctrl-alt-backspace. Then login again and it works again.

I installed java as described in the UbuntuGuides.org and i am using firefox to start these java programs. It also happends with the java poker from pokerroom.com. I havent tried any other Java programs with sounds.

description: updated
description: updated
Revision history for this message
Matthias Klose (doko) wrote :
Changed in sun-java:
status: Unknown → Confirmed
Revision history for this message
Thomas Detoux (detoux) wrote :

Hi,

I experienced this problem (although for me the sound come back as soon as I stop the java applet, sometime I had to stop firefox too, but I never had to kill the X server).

An intersting workaround, for people awaiting this bug to be fixed : I you start a program using sound (eg. Totem) BEFORE starting your java applet, then you will be able to hear the sound of your program (note, you well not hear the sound of the java applet, depends wich one you prefer).

Revision history for this message
Ricky Brent (rickybrent) wrote :

I had/have a similar problem as well, although in my case, like Thomas Detoux's, killing java gave me sound back. I was able to "fix" it by using the ALSA wrapper for OSS applications (package alsa-oss, command is aoss) before launching java. I was losing sound even when the java program I was running did not use sound, although not right away.

I didn't try it with applets, but it make work if you do the same to firefox.

Changed in sun-java:
status: Confirmed → Unknown
Changed in sun-java:
status: Unknown → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

Worked around using padsp.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I noticed the package your bugging is updated in Karmic. Does this occur in it? Thanks in advance!

Changed in sun-java6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Ricky Brent (rickybrent) wrote :

I am no longer able to reproduce it in Karmic or Lucid. :)

Revision history for this message
volkan baytemür (ellis4141) wrote :

neler oluyor burada

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.