[pulseaudio-discuss] Java and pulseaudio

Michal Sawicz michal at sawicz.net
Wed Aug 13 04:26:38 PDT 2008


Dnia 2008-08-13, śro o godzinie 06:35 -0400, John Stanley pisze:
> However, I simply 
> cannot get it to work with Java.  Java (jdk6u7) appears to hold
> output 
> audio devices exclusively so that no other apps can be run
> concurrently.

What audio backend does Java use? If it's OSS, run the app with 'padsp
java...', if it's alsa, add:

pcm.!default {
	type pulse
}

ctl.!default {
	type pulse
}

to your .asoundrc and you should be fine.

-- 
Michal Sawicz <michal at sawicz.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: To jest cz??? wiadomo?ci podpisana cyfrowo
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20080813/bc4623fd/attachment.pgp>


More information about the pulseaudio-discuss mailing list