snd_pcm_hw_constraint_ranges
Prev | Chapter 5. Sound Devices | Next

## Name

snd_pcm_hw_constraint_ranges — apply list of range constraints to a parameter

## Synopsis

`int snd_pcm_hw_constraint_ranges (` | struct snd_pcm_runtime * runtime,
| unsigned int cond,
| snd_pcm_hw_param_t var,
| const struct snd_pcm_hw_constraint_ranges * r`)`;

## Arguments

`runtime`

  PCM runtime instance

`cond`

  condition bits

`var`

  hw_params variable to apply the list of range constraints

`r`

  ranges

## Description

Apply the list of range constraints to an interval parameter.

## Return

Zero if successful, or a negative error code on failure.

Prev | Up | Next
snd_pcm_hw_constraint_list | Home | snd_pcm_hw_constraint_ratnums