OpenJDK needs to add gain control support

Bug #625790 reported by أحمد المحمودي (Ahmed El-Mahmoudy) on 2010-08-28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)

Bug Description


  A java application using libbasicplayer-java for audio playback. Yet when using OpenJDK (with pulseaudio as the sound service provider), I get the following error when I attempt to fiddle with the volume from the java application:

   java.lang.IllegalArgumentException: Master Gain not supported
    javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
    javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
    javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source) Source)

This does not happen when I edit /etc/java-6-openjdk/ to use the other sound service provider (<whatever>).

Matthias Klose (doko) wrote :

Matthias: the patch I made for libbasicplayer-java was just adding a
try..catch in order to avoid crashes in java programs that used
libbasicplayer-java. But it does not fix any problem !

 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
broussaille (seb-abilla) wrote :

Bug appears when i try to attempt audio lectures using cgoban3 with xubuntu 12.4.
However, the solution you gave works fine. Thank you!

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

Duplicates of this bug

Other bug subscribers