← Back to team overview

openjdk team mailing list archive

Re: [Bug 625790] Re: OpenJDK needs to add gain control support

 

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 KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7

-- 
OpenJDK needs to add gain control support
https://bugs.launchpad.net/bugs/625790
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: New

Bug description:
Hello,

  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
    org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:89)
    org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.getControl(PulseAudioSourceDataLine.java:51)
    javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
    javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
    javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
    javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)


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





References