[ubuntu-za] Audio playback problem

Lloyd Reijers lloyd.reijers at gmail.com
Wed Sep 29 08:41:17 BST 2010


On Tue, 2010-09-28 at 15:52 +0200, Jan Schoeman wrote:
> I am having some issues playing audio from a java application
> Audio Device Unavailable

I know very little of audio and java, but it might be possible it's
trying to use the /dev/dsp* device files (which are blocking).

Try to run your java application through /usr/bin/padsp which should
redirect the audio through to pulse.

ie. 
if you ran 
   /usr/bin/java somejavafile.jar 
then instead run 
   /usr/bin/padsp /usr/bin/java somejavafile.jar


I have a feeling this all has a lot to do with what version of java
you're using.

-- 
Lloyd





More information about the ubuntu-za mailing list