java / pulseaudio question
Knute Johnson
ubuntu at knutejohnson.com
Thu Sep 20 03:04:09 UTC 2012
On 9/19/2012 4:38 AM, R Kimber wrote:
> I'm trying to run a jar file (an audio player) but get the following errors:
>
> Exception in thread "Thread-1" java.lang.IllegalArgumentException: Master
> Gain not supported at
> org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:89)
> at DSPAudio.run(DSPAudio.java:281)
> at java.lang.Thread.run(Thread.java:679)
>
> Is this issue likely to be a bug in the jar file, a problem with PulseAudio,
> or might it be solved by installing the Sun/Oracle version of java rather
> than open java? I seem to have:-
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>
> - Richard
>
I think it is a bug in the code not a Java related problem. The Master
Gain is a control that may not exist in PulseAudio and the program was
hard coded for a control with that name. If the player isn't huge and
you can send it to me I'll try it on a Sun JDK installation for you.
--
Knute Johnson
More information about the ubuntu-users
mailing list