[pulseaudio-discuss] Pulseaudio and Java

Brandon Kuczenski brandon.kuczenski at 301south.net
Sat May 22 20:36:47 PDT 2010


On Sat, 22 May 2010, Sean McNamara wrote:

> Hi,
>
> On Sat, May 22, 2010 at 9:52 PM, Brandon Kuczenski
> <brandon.kuczenski at 301south.net> wrote:
>> Hi,
>>
>> I'm using pulseaudio in per-user mode (as directed).  From firefox I visited
>> a webpage with an embedded java applet (Text Twist from notoriously
>> unfriendly yahoo!) and found that java has seized control of /dev/dsp.
>>  pulseaudio applications which typically work quite well are now unhappy.
>>
>> Is there a workaround to this ?  I would rather have silent java apps than
>> have java kill sound for other programs.
>
> Let me give you some background on why this is happening.
>
> /dev/dsp is an OSS (Open Sound System) device. OSS is a legacy sound
> API that is not supported on newer distros.
>
...
>
> 1. The easy solution -- to stop ALSA's OSS emulation -- is to remove
> the snd-pcm-oss module and all the modules that depend on it, from
> your Linux kernel. For one boot, you can do this with modprobe -r or

...

Thanks for the background.  I've blacklisted snd-pcm-oss and removed it 
with modprobe -r.  I had to also blacklist
snd_seq_oss (love the inconsisten hyphenation) but now the problem seems 
to have gone away.

Thanks again!

-Brandon


More information about the pulseaudio-discuss mailing list