snd_interval_ranges (9) - Linux Manuals

snd_interval_ranges: 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