SysTutorials

Linux Manual Pages › Section 9

snd_pcm_hw_constraint_ratnums(9)

snd_pcm_hw_constraint_ratnums - apply ratnums constraint to a parameter

Synopsis

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

runtime

PCM 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