← Back to team overview

openjdk team mailing list archive

[Bug 625790] Re: OpenJDK needs to add gain control support

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/625790

Title:
  OpenJDK needs to add gain control support

Status in “openjdk-6” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/625790/+subscriptions



References