1SND_PCM_NEW_STREAM(9) PCM API SND_PCM_NEW_STREAM(9)
2
3
4
6 snd_pcm_new_stream - create a new PCM stream
7
9 int snd_pcm_new_stream(struct snd_pcm * pcm, int stream,
10 int substream_count);
11
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
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
27 Returns zero if successful, or a negative error code on failure.
28
30Kernel Hackers Manual 2.6. November 2011 SND_PCM_NEW_STREAM(9)