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

NAME

6       snd_pcm_stream_lock - Lock the PCM stream
7

SYNOPSIS

9       void snd_pcm_stream_lock(struct snd_pcm_substream * substream);
10

ARGUMENTS

12       substream
13           PCM substream
14

DESCRIPTION

16       This locks the PCM stream's spinlock or mutex depending on the
17       nonatomic flag of the given substream. This also takes the global link
18       rw lock (or rw sem), too, for avoiding the race with linked streams.
19
21Kernel Hackers Manual 3.10         June 2019            SND_PCM_STREAM_LOCK(9)
Impressum