SND_PCM_HW_CONSTRAIN
Section: PCM API (9)
Updated: February 2011
Index
Return to Main Contents
NAME
snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
SYNOPSIS
-
int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime * runtime, snd_pcm_hw_param_t var, unsigned int min, unsigned int max);
ARGUMENTS
runtime
-
- PCM 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.
COPYRIGHT