On 14-04-08 18:58, Lennart Poettering wrote:
On Sun, 13.04.08 00:09, Rene Herman (rene.herman@keyaccess.nl) wrote:
I believe it can be concluded that there is no "generally good level". ALSA should ship /usr/share/alsa/cards/<card>.state files which at least lets a driver author decide on a sensible set of default mixer settings.
Yet another file that needs to be maintained.
I don't believe this would be a huge problem, but yes, it's a downside.
Why not export this data like all the other data from the kernel? That way other apps (not just alsactl) could make use of this information.
While I'm not particularly up on the issue, I believe controls which may be implemented completely in userspace means you definitely need to go through alsa-lib to get _possibly_ sensible results.
Rene.