[pulseaudio-discuss] Pulseaudio and Java
Ng Oon-Ee
ngoonee at gmail.com
Sat May 22 23:07:04 PDT 2010
On Sat, 2010-05-22 at 20:36 -0700, Brandon Kuczenski wrote:
> 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
Do you still get sound from your java apps? You could try running those
apps (if they're stand-alone) using aoss or padsp.
More information about the pulseaudio-discuss
mailing list