---
name: "snd_interval_ranges"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_interval_ranges"
---

# snd\_interval\_ranges(9)

refine the interval value from the list of ranges

## NAME

snd\_interval\_ranges - refine the interval value from the list of ranges

## SYNOPSIS

**int snd\_interval\_ranges(struct snd\_interval \*** *i***, unsigned int** *count***, const struct snd\_interval \*** *ranges***, unsigned int** *mask***);**

## ARGUMENTS

*i*

the interval value to refine

*count*

the number of elements in the list of ranges

*ranges*

the ranges list

*mask*

the bit-mask to evaluate

## DESCRIPTION

Refines the interval value from the list of ranges. When mask is non-zero, only the elements corresponding to bit 1 are evaluated.

## RETURN

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

## COPYRIGHT
