[opensuse] Alsa/KDE/Firefox proper allocation of sound devices
I run two kde sessions on my server: one in a VNC session for remote access, and another on the systems main head. Each session is under a separate exclusive user. I have many sound devices on this server: two are Skype phones; one a simple USB headset, the other a USB Telbox using kb2kskype software. I'm not sure the exact sequence of events, but every time I reboot the machine I spend a few days trying to get my phones working again. Often, just killing all users kmix and firefox sessions allows kb2kskype access to the phone I need to use. I can exclude sound hardware from my KDE setup, but it doesn't seem to keep firefox from gloming on to devices it shouldn't touch. There needs to be a way to say which applications can use a sound device, and not have to fight for access. Chris -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 6. April 2008 schrieb Chris Worley:
[...] I can exclude sound hardware from my KDE setup,
You should be able to tell KDE, and any other native ALSA application, which ALSA device it should use.
but it doesn't seem to keep firefox from gloming on to devices it shouldn't touch.
There needs to be a way to say which applications can use a sound device, and not have to fight for access.
If you use the standard openSUSE firefox installation and ALSA, firefox is started via aoss. This script will emulate OSS via ALSA. Some plugins use OSS (e.g. older flash player) but others use ALSA directly (e.g. newer flash player). You can tell the plugins, that use OSS via aoss, which device they should use, see "man aoss". However, closed source applications tend to just using the first ALSA device (hw:0) while offering no possibility to change this. Flash player seems to use the default ALSA device: http://blogs.adobe.com/penguin.swf/2006/06/hear_this.html#comment-11613 You can check whether your ALSA configuration defines the correct device as the default device by checking the output of "aplay -L". Gruß Jan -- You cannot help men permanently by doing for them what they could and should do for themselves. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Chris Worley
-
Jan Ritzerfeld