snd_interval_ratnum
Prev | Chapter 5. Sound Devices | Next

## Name

snd_interval_ratnum — refine the interval value

## Synopsis

`int snd_interval_ratnum (` | struct snd_interval * i,
| unsigned int rats_count,
| const struct snd_ratnum * rats,
| unsigned int * nump,
| unsigned int * denp`)`;

## Arguments

`i`

  interval to refine

`rats_count`

  number of ratnum_t

`rats`

  ratnum_t array

`nump`

  pointer to store the resultant numerator

`denp`

  pointer to store the resultant denominator

## Return

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

Prev | Up | Next
snd_interval_refine | Home | snd_interval_list