openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #04441
[Bug 625790] Re: OpenJDK needs to add gain control support
see bug #491784
--
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>).
Follow ups
References