1SND_PCM_RATE_MASK_IN(9)             PCM API            SND_PCM_RATE_MASK_IN(9)
2
3
4

NAME

6       snd_pcm_rate_mask_intersect - computes the intersection between two
7       rate masks
8

SYNOPSIS

10       unsigned int snd_pcm_rate_mask_intersect(unsigned int rates_a,
11                                                unsigned int rates_b);
12

ARGUMENTS

14       rates_a
15           The first rate mask
16
17       rates_b
18           The second rate mask
19

DESCRIPTION

21       This function computes the rates that are supported by both rate masks
22       passed to the function. It will take care of the special handling of
23       SNDRV_PCM_RATE_CONTINUOUS and SNDRV_PCM_RATE_KNOT.
24

RETURN

26       A rate mask containing the rates that are supported by both rates_a and
27       rates_b.
28
30Kernel Hackers Manual 3.10         June 2019           SND_PCM_RATE_MASK_IN(9)
Impressum