1. NAME▲
snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
2. SYNOPSIS ▲
int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime * runtime , snd_pcm_hw_param_t var , unsigned int min , unsigned int max );
3. ARGUMENTS ▲
runtime
PCM runtime instance
var
hw_params variable to apply the range
min
the minimal value
max
the maximal value
4. DESCRIPTION ▲
Apply the min/max range constraint to an interval parameter.
5. RETURN ▲
Positive if the value is changed, zero if itAqs not changed, or a negative error code.
6. COPYRIGHT ▲