I'll get a bit motivated to figure out the sound system in linux.
For instance, several applications that are always running on my machine play nice with each other and with the sound system. They share. Noises, music, whatever. Sometimes there's a bit of a problem with relative volume levels, but they share.
One or two other apps just don't share at all. They grab the sound system and keep it. The interesting thing is that the other apps put their sounds in a queue. And when the greedy app closes the queued sounds come tumbling out.
I really hate that greedy behavior. One of the apps is a python script. I've looked through it to see if I could disable the sound grabbing code (I turn sound off on that app anyway), but each time I try, the whole app fails to run. I guess I'll have to learn enough python to stop mucking up the scripts. :)
But I would rather the offending apps be taught to play nicely with the sound system. I could probably hack the python script IF I knew how to talk to the sound system in a polite way.
I have a vague idea of how it works, but it's mostly an idea I just made up from other information about linux/hardware interaction.
For instance, several applications that are always running on my machine play nice with each other and with the sound system. They share. Noises, music, whatever. Sometimes there's a bit of a problem with relative volume levels, but they share.
One or two other apps just don't share at all. They grab the sound system and keep it. The interesting thing is that the other apps put their sounds in a queue. And when the greedy app closes the queued sounds come tumbling out.
I really hate that greedy behavior. One of the apps is a python script. I've looked through it to see if I could disable the sound grabbing code (I turn sound off on that app anyway), but each time I try, the whole app fails to run. I guess I'll have to learn enough python to stop mucking up the scripts. :)
But I would rather the offending apps be taught to play nicely with the sound system. I could probably hack the python script IF I knew how to talk to the sound system in a polite way.
I have a vague idea of how it works, but it's mostly an idea I just made up from other information about linux/hardware interaction.