4 Dec
2009
4 Dec
'09
2:33 p.m.
Tobias Schneider wrote:
Another point: I figured out that the "ALSA middlelayer" seems to filter the given values of a control. So if the user sets value=1000 where maximum is 10, I will get 10 instead of 1000 in the put callback...so it's not necessary to check values in those callbacks,
It is, because it is possible to use low-level ALSA functions or to call the IOCTLs directly, and in this way arbitrary values can reach your driver's put callback.
Best regards, Clemens