other versions
- stretch 4.9.168-1
SND_PCM_NEW_STREAM(9) | PCM API | SND_PCM_NEW_STREAM(9) |
NAME¶
snd_pcm_new_stream - create a new PCM streamSYNOPSIS¶
int snd_pcm_new_stream(struct snd_pcm * pcm, int stream, int substream_count);
ARGUMENTS¶
pcmthe pcm instance
stream
the stream direction, SNDRV_PCM_STREAM_XXX
substream_count
the number of substreams
DESCRIPTION¶
Creates a new stream for the pcm. The corresponding stream on the pcm must have been empty before calling this, i.e. zero must be given to the argument of snd_pcm_new.RETURN¶
Zero if successful, or a negative error code on failure.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |