SND_PCM_HW_CONSTRAIN(9) Sound Devices SND_PCM_HW_CONSTRAIN(9)NAMEsnd_pcm_hw_constraint_ratdens - apply ratdens constraint to a parameter
SYNOPSIS
int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime * runtime,
unsigned int cond,
snd_pcm_hw_param_t var,
struct snd_pcm_hw_constraint_ratdens * r);
ARGUMENTS
runtime
PCM runtime instance
cond
condition bits
var
hw_params variable to apply the ratdens constraint
r
struct snd_ratdens constriants
RETURN
Zero if successful, or a negative error code on failure.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 SND_PCM_HW_CONSTRAIN(9)