Query devices in a non-blocking fashion
Quoted 5 lines
Quoted 1 line
Perhaps this could be refined in a future design of ALSA?
We all think in the same way, but there's no simple solution for this problem. I prefer to have such configuration information in an user-space database accessed via an alsa-lib API. It's nothing for the kernel space.
It seems like a program could be run at boot time or immediately after a module is loaded and could query the sound device and compute this database. Then no conflicts are possible since noone else has it open yet.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/