Scroll to navigation

SND_PCM_HW_CONSTRAIN(9) Sound Devices SND_PCM_HW_CONSTRAIN(9)

NAME

snd_pcm_hw_constraint_single - Constrain parameter to a single value

SYNOPSIS

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.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10