Name

snd_interval_refine — refine the interval value of configurator

Synopsis

int snd_interval_refine (snd_interval_t * i, const snd_interval_t * v);

Arguments

i

the interval value to refine

v

the interval value to refer to

Description

Refines the interval value with the reference value. The interval is changed to the range satisfying both intervals. The interval status (min, max, integer, etc.) are evaluated.

Returns non-zero if the value is changed, zero if not changed.