Expose parameter constraints in control API
partial cherry pick from commit
2eeaa3b8a5
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2985 0c269be4-1314-0410-8aa9-9f06e86f4224
This commit is contained in:
parent
3edeab30b8
commit
c53e46a085
|
@ -293,6 +293,29 @@ union jackctl_parameter_value
|
|||
jackctl_parameter_get_default_value(
|
||||
jackctl_parameter_t * parameter);
|
||||
|
||||
bool
|
||||
jackctl_parameter_has_range_constraint(
|
||||
jackctl_parameter_t * parameter_ptr);
|
||||
|
||||
bool
|
||||
jackctl_parameter_has_enum_constraint(
|
||||
jackctl_parameter_t * parameter_ptr);
|
||||
|
||||
uint32_t
|
||||
jackctl_parameter_get_enum_constraints_count(
|
||||
jackctl_parameter_t * parameter_ptr);
|
||||
|
||||
union jackctl_parameter_value
|
||||
jackctl_parameter_get_enum_constraint_value(
|
||||
jackctl_parameter_t * parameter_ptr,
|
||||
uint32_t index);
|
||||
|
||||
void
|
||||
jackctl_parameter_get_range_constraint(
|
||||
jackctl_parameter_t * parameter_ptr,
|
||||
union jackctl_parameter_value * min_ptr,
|
||||
union jackctl_parameter_value * max_ptr);
|
||||
|
||||
/**
|
||||
* Call this function to log an error message.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue