← Back to team overview

openjdk team mailing list archive

[Bug 457144] Re: Add pulseaudio support to sun-java6-jdk

 

** Also affects: openjdk-8 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Add pulseaudio support to sun-java6-jdk

Status in openjdk-8 package in Ubuntu:
  New
Status in sun-java6 package in Ubuntu:
  Won't Fix

Bug description:
  OpenJDK for amd64 contains the following files:

  ./jre/lib/amd64/libpulse-java.so
  ./jre/lib/ext/pulse-java.jar

  and a sound.properties file with this:

  # OpenJDK on Ubuntu is configured to use PulseAudio by default
  javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
  javax.sound.sampled.Port=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
  javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
  javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider

  Copying the files above from openjdk to sun jdk and these rows to
  sound.properties seems to turn java6 jdk pulseaudio aware. It'd be
  great to see future versions of the package do this automatically.

  The following is not related to the bug but describes my motivation. I
  need to do this because I don't get sound with OSS or ALSA
  applications because of routing problems with optical connection from
  Audigy 2 ZS that's somehow related to pulseaudio but undebugable for
  me. It is related to the "Optical Raw" switch, which I could toggle in
  the past to get alsa and oss sound working again over the digital
  output. However, in the karmic betas this setting can no longer be
  toggled with alsamixer, and thus I *must* have audio routed via
  pulseaudio to hear anything at all.

  ProblemType: Bug
  Architecture: amd64
  Date: Wed Oct 21 15:26:34 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: sun-java6-jdk 6-15-1
  ProcEnviron:
   PATH=(custom, user)
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
  SourcePackage: sun-java6
  Uname: Linux 2.6.31-14-generic x86_64

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