Certain apps launch artsd when they use the soundcard. Which stays running when the app quits. Perhaps this is your issue. killall artsd
I have this issue with ktorrent and other KDE apps. The web browsers tends to use OSS. Killing off gconfd-2 and dbus-launch afterwards helps as well. I don't run a lot of things. So I know when something is there that shouldn't be. If you're running gnome or KDE and/or dbus/hal/avahi you might not want to do the killall stuff. But it works for me.
There are ways to share sound. ALSA can mix natively, as long as the apps use alsa directly. Otherwise you can launch apps with aoss. Similar tools to do the same with esd, arts and others (artsdsp, esddsp, etc...). There's a dmix configuration for asoundrc, but you don't really need it these days.
|