other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SND_PCM_HW_CONSTRAIN(9) | PCM API | SND_PCM_HW_CONSTRAIN(9) |
NAME¶
snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an intervalSYNOPSIS¶
int
snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime * runtime,
snd_pcm_hw_param_t var,
unsigned int min,
unsigned int max);
ARGUMENTS¶
runtimePCM runtime instance
var
hw_params variable to apply the range
min
the minimal value
max
the maximal value
DESCRIPTION¶
Apply the min/max range constraint to an interval parameter.RETURN¶
Positive if the value is changed, zero if it's not changed, or a negative error code.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |