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

NAME

6       snd_pcm_hw_constraint_msbits - add a hw constraint msbits rule
7

SYNOPSIS

9       int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime * runtime,
10                                        unsigned int cond, unsigned int width,
11                                        unsigned int msbits);
12

ARGUMENTS

14       runtime
15           PCM runtime instance
16
17       cond
18           condition bits
19
20       width
21           sample bits width
22
23       msbits
24           msbits width
25

DESCRIPTION

27       This constraint will set the number of most significant bits (msbits)
28       if a sample format with the specified width has been select. If width
29       is set to 0 the msbits will be set for any sample format with a width
30       larger than the specified msbits.
31

RETURN

33       Zero if successful, or a negative error code on failure.
34
36Kernel Hackers Manual 3.10         June 2019           SND_PCM_HW_CONSTRAIN(9)
Impressum