← Back to team overview

openjdk team mailing list archive

Re: [Bug 491784] Re: Sound does not work with openjdk

 

> I dunno about that, how can I find out ?

I would grep the source of your software for any word like sound or
alsa. 

Sadenly i can't help you with this bug, currently i in ZA and use
expensive Internet, downloading the source will reduce my fonds.

This defently depends on this software, if this is bug in jdk or pulse
we should know how to reproduce it.

Using pulse in jdk config just discovered this bug, the config is not a
bug. So please, do not ask changing config defaults. 

Can you try to replace sound file with some other settings , for example
other sample rate (44100).

-- 
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





References