← Back to team overview

openjdk team mailing list archive

[Bug 491784] [NEW] Sound does not work with openjdk

 

Public bug reported:

I am using a java software (zekr) that has audio playback feature. This
feature works with sun-java6-jre, but not with openjdk-6-jre, instead I
get this error:

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)
	net.sf.zekr.engine.audio.DefaultPlayerController.play(DefaultPlayerController.java:83)
	net.sf.zekr.ui.AudioPlayerUiController.playerTogglePlayPause(AudioPlayerUiController.java:163)
	net.sf.zekr.engine.audio.ui.AudioPlayerForm$5.widgetSelected(AudioPlayerForm.java:325)
	org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
	org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
	org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
	net.sf.zekr.ui.BaseForm.loopEver(BaseForm.java:36)
	net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:63)
	net.sf.zekr.ZekrMain.main(ZekrMain.java:88)

ProblemType: Bug
Architecture: i386
Date: Thu Dec  3 10:28:38 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: openjdk-6-jre 6b16-1.6.1-3ubuntu1
ProcEnviron:
 LANGUAGE=en_US:en_GB:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openjdk-6
Uname: Linux 2.6.31-15-generic i686

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Sound does not work with openjdk
https://bugs.launchpad.net/bugs/491784
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:
I am using a java software (zekr) that has audio playback feature. This feature works with sun-java6-jre, but not with openjdk-6-jre, instead I get this error:

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)
	net.sf.zekr.engine.audio.DefaultPlayerController.play(DefaultPlayerController.java:83)
	net.sf.zekr.ui.AudioPlayerUiController.playerTogglePlayPause(AudioPlayerUiController.java:163)
	net.sf.zekr.engine.audio.ui.AudioPlayerForm$5.widgetSelected(AudioPlayerForm.java:325)
	org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
	org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
	org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
	net.sf.zekr.ui.BaseForm.loopEver(BaseForm.java:36)
	net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:63)
	net.sf.zekr.ZekrMain.main(ZekrMain.java:88)

ProblemType: Bug
Architecture: i386
Date: Thu Dec  3 10:28:38 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: openjdk-6-jre 6b16-1.6.1-3ubuntu1
ProcEnviron:
 LANGUAGE=en_US:en_GB:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openjdk-6
Uname: Linux 2.6.31-15-generic i686



Follow ups

References