From: Clemens Ladisch on
houghi wrote:
> Clemens Ladisch wrote:
> > So, what files are used by Lux? Is it using some sound server?
>
> No idea.

Lux is using Java, so:
lsof | grep java

If you had kernel 2.6.33, you could just look at the owner_pid field in
in /proc/asound/card0/pcm0p/sub0/status.


If you tell all programs (including mpd) to use the ALSA device "default"
instead of hw:something, sharing should work.
(I don't know how to configure the sound output of the Java VM.)


Regards,
Clemens
From: J G Miller on
Op Woensdag, 5 mei, 2010 at 17:37:35 +0200, Houghi wrote:

> It is nice to know that I can manipulate things,

If you only have one sound hardware device you do not need to do any
manipulation. The problem primarily arises if you have a USB sound
device (which includes a webcam with built in microphone) and that
is plugged in at boot time, and that becomes the first sound device
for some reason.

> but I have no intention of doing so.

Are you frightened of breaking something?

> I have pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c

Yes that is fine.

> 4270 /usr/lib/xfce4/panel-plugins/xfce4-mixer-plugin (And a lot of
> options)
> 4366 /usr/bin/xfce4-volumed

So you are running XFCE (whatever happened to Windowmaker) and are
running the XFCE sound mixing system.

> When I did a `fuser /dev/snd/*` again the music still works and comes
> out of my boxes

Out of your sound card in particular? Which one do you have btw?

> but nothing showed as above.

That is a bit strange, but with what are you playing the music?

It may be using the OSS devices depending on what interface it
is configure/programmed to use.

When you run mpd, does it always or ever show as using the /dev/snd/pcmC*
devices?