SND_PCM_NEW

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

 

NAME

snd_pcm_new - create a new PCM instance  

SYNOPSIS

"SYNOPSIS"

int snd_pcm_new (snd_card_t * card, char * id, int device, int playback_count, int capture_count, snd_pcm_t ** rpcm);  

ARGUMENTS

card
the card instance
id
the id string
device
the device index (zero based)
playback_count
the number of substreams for playback
capture_count
the number of substreams for capture
rpcm
the pointer to store the new pcm instance
 

DESCRIPTION

Creates a new PCM instance.

The pcm operators have to be set afterwards to the new instance via snd_pcm_set_ops.

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