.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_PCM_NEW_STREAM" "" "06 October 2005" "" "" .SH NAME snd_pcm_new_stream \- create a new PCM stream .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_pcm_new_stream (snd_pcm_t * \fIpcm\fB, int \fIstream\fB, int \fIsubstream_count\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpcm\fB\fR the pcm instance .TP \fB\fIstream\fB\fR the stream direction, SNDRV_PCM_STREAM_XXX .TP \fB\fIsubstream_count\fB\fR the number of substreams .SH "DESCRIPTION" .PP 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 \fBsnd_pcm_new\fR\&. .PP Returns zero if successful, or a negative error code on failure.