Re: ALSA Control Questions (atomicity, error handling)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux