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

NAME

6       snd_pcm_new_stream - create a new PCM stream
7

SYNOPSIS

9       int snd_pcm_new_stream(struct snd_pcm * pcm, int stream,
10                              int substream_count);
11

ARGUMENTS

13       pcm
14           the pcm instance
15
16       stream
17           the stream direction, SNDRV_PCM_STREAM_XXX
18
19       substream_count
20           the number of substreams
21

DESCRIPTION

23       Creates a new stream for the pcm. The corresponding stream on the pcm
24       must have been empty before calling this, i.e. zero must be given to
25       the argument of snd_pcm_new.
26

RETURN

28       Zero if successful, or a negative error code on failure.
29
31Kernel Hackers Manual 3.10         June 2019             SND_PCM_NEW_STREAM(9)
Impressum