SND_PCM_NEW_STREAM

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

snd_pcm_new_stream - create a new PCM stream  

SYNOPSIS

"SYNOPSIS"

int snd_pcm_new_stream (snd_pcm_t * pcm, int stream, int substream_count);  

ARGUMENTS

pcm
the 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.

Returns zero if successful, or a negative error code on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:51 GMT, October 09, 2005