snd_pcm_hw_constraint_single(9)

snd_pcm_hw_constraint_single9

Constrain parameter to a single value

Usage

int snd_pcm_hw_constraint_single(struct snd_pcm_runtime * runtime, snd_pcm_hw_param_t var, unsigned int val);

Arguments

runtime

PCM runtime instance

var

The hw_params variable to constrain

val

The value to constrain to

Return

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

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.