mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-13 00:55:42 +01:00
b2e85be668
Attributes can have constraints set for valid values, min or max values. If the attribute value is set in an object, the value must be validated against the set constraints. An example for attribute constraint would be: DefineAttribute."direction" { constraints { valid_values [ "playback" "capture" ] tuple_values [ 0 1 ] } } where the tuple_values array would translate the valid_values of playback as 0 and capture as 1. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.. | ||
alsatplg.rst | ||
Makefile.am | ||
pre-process-class.c | ||
pre-process-object.c | ||
pre-processor.c | ||
pre-processor.h | ||
topology.c | ||
topology.h |