SND_HWDEP_NEW

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

 

NAME

snd_hwdep_new - create a new hwdep instance  

SYNOPSIS

"SYNOPSIS"

int snd_hwdep_new (snd_card_t * card, char * id, int device, snd_hwdep_t ** rhwdep);  

ARGUMENTS

card
the card instance
id
the id string
device
the device index (zero-based)
rhwdep
the pointer to store the new hwdep instance
 

DESCRIPTION

Creates a new hwdep instance with the given index on the card. The callbacks (hwdep->ops) must be set on the returned instance after this call manually by the caller.

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:50 GMT, October 09, 2005