Name

snd_pcm_hw_constraint_integer — apply an integer constraint to an interval

Synopsis

int snd_pcm_hw_constraint_integer (struct snd_pcm_runtime * runtime,
 snd_pcm_hw_param_t var);
 

Arguments

runtime

PCM runtime instance

var

hw_params variable to apply the integer constraint

Description

Apply the constraint of integer to an interval parameter.

Return

Positive if the value is changed, zero if it's not changed, or a negative error code.