other versions
SND_PCM_HW_CONSTRAIN(9) | PCM API | SND_PCM_HW_CONSTRAIN(9) |
NAME¶
snd_pcm_hw_constraint_ratnums - apply ratnums constraint to a parameterSYNOPSIS¶
int
snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime * runtime,
unsigned int cond,
snd_pcm_hw_param_t var,
const struct snd_pcm_hw_constraint_ratnums * r);
ARGUMENTS¶
runtimePCM runtime instance
cond
condition bits
var
hw_params variable to apply the ratnums constraint
r
struct snd_ratnums constriants
RETURN¶
Zero if successful, or a negative error code on failure.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |