Bug#586761: sun-java6-plugin: Please add PulseAudio support!

2010-06-23 Thread Garrett McLean
It's entirely possible that I am oversimplifying but could it be as simple
as adding a wrapper script (in such as bash)? Something like:

#!/bin/bash
if [ $(pidof pulseaudio) ]; then
padsp java $*
else
java $*
fi

Or maybe (probably) there are better ways to check for pulse's presence
and/or to redirect audio to it?

-Garrett


On Tue, Jun 22, 2010 at 12:35 PM, Torsten Werner twer...@debian.org wrote:

 Hi,

 On Tue, Jun 22, 2010 at 9:02 PM, Garrett McLean gmcl...@gmail.com wrote:
  Or should this bug be filed against sun-java6-bin instead?

 It does not really matter. But I have no idea how to fix your problem.

 Cheers,
 Torsten

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#586761: sun-java6-plugin: Please add PulseAudio support!

2010-06-22 Thread Garrett McLean
Package: sun-java6-plugin
Version: 6.20-dlj-4
Severity: wishlist

Hi,

If I run jars with padsp java -jar jar, sound works great. If I just run java
-jar jar, the sound gets lost in what has become known as the terrifying
jungle of Linux audio (http://blogs.adobe.com/penguin.swf/2007/05/) and never
makes it to my speakers.

It'd be great if somehow all java programs -- but in particular applets since
they are trickier to run through padsp -- could somehow check for PulseAudio
and, if it's present, run the applet through padsp (or maybe an even better
solution than this!). Probably a simple bash script would suffice.

Thanks for all your hard work!

-Garrett



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sun-java6-plugin depends on:
ii  iceweasel 3.5.9-3Web browser based on Firefox
ii  libasound21.0.23-1   shared library for ALSA applicatio
ii  libx11-6  2:1.3.3-3  X11 client-side library
ii  libxext6  2:1.1.1-3  X11 miscellaneous extension librar
ii  libxi62:1.3-4X11 Input extension library
ii  libxt61:1.0.7-1  X11 toolkit intrinsics library
ii  libxtst6  2:1.1.0-2  X11 Testing -- Resource extension 
ii  sun-java6-bin 6.20-dlj-4 Sun Java(TM) Runtime Environment (

sun-java6-plugin recommends no packages.

sun-java6-plugin suggests no packages.

-- no debconf information



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#586761: sun-java6-plugin: Please add PulseAudio support!

2010-06-22 Thread Garrett McLean
Or should this bug be filed against sun-java6-bin instead?

On Tue, Jun 22, 2010 at 1:27 AM, Garrett McLean gmcl...@gmail.com wrote:

 Package: sun-java6-plugin
 Version: 6.20-dlj-4
 Severity: wishlist

 Hi,

 If I run jars with padsp java -jar jar, sound works great. If I just run
 java
 -jar jar, the sound gets lost in what has become known as the terrifying
 jungle of Linux audio (http://blogs.adobe.com/penguin.swf/2007/05/) and
 never
 makes it to my speakers.

 It'd be great if somehow all java programs -- but in particular applets
 since
 they are trickier to run through padsp -- could somehow check for
 PulseAudio
 and, if it's present, run the applet through padsp (or maybe an even better
 solution than this!). Probably a simple bash script would suffice.

 Thanks for all your hard work!

 -Garrett



 -- System Information:
 Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
 Architecture: amd64 (x86_64)

 Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash

 Versions of packages sun-java6-plugin depends on:
 ii  iceweasel 3.5.9-3Web browser based on Firefox
 ii  libasound21.0.23-1   shared library for ALSA
 applicatio
 ii  libx11-6  2:1.3.3-3  X11 client-side library
 ii  libxext6  2:1.1.1-3  X11 miscellaneous extension
 librar
 ii  libxi62:1.3-4X11 Input extension library
 ii  libxt61:1.0.7-1  X11 toolkit intrinsics library
 ii  libxtst6  2:1.1.0-2  X11 Testing -- Resource
 extension
 ii  sun-java6-bin 6.20-dlj-4 Sun Java(TM) Runtime
 Environment (

 sun-java6-plugin recommends no packages.

 sun-java6-plugin suggests no packages.

 -- no debconf information

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.