openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #04440
[Bug 625790] [NEW] OpenJDK needs to add gain control support
Public bug reported:
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>).
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
--
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