centos man page for snd_device_new

Query: snd_device_new

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SND_DEVICE_NEW(9)					  Management of Cards and Device					 SND_DEVICE_NEW(9)

NAME
snd_device_new - create an ALSA device component
SYNOPSIS
int snd_device_new(struct snd_card * card, snd_device_type_t type, void * device_data, struct snd_device_ops * ops);
ARGUMENTS
card the card instance type the device type, SNDRV_DEV_XXX device_data the data pointer of this device ops the operator table
DESCRIPTION
Creates a new device component for the given data pointer. The device will be assigned to the card and managed together by the card. The data pointer plays a role as the identifier, too, so the pointer address must be unique and unchanged.
RETURN
Zero if successful, or a negative error code on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SND_DEVICE_NEW(9)
Related Man Pages
device_create_vargs(9) - centos
device(9) - freebsd
device(9) - centos
device(9) - linux
device(9) - php
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
CentOS7 restoring file capabilities
Docker learning Phase-I
Controlling user input
[TIP] Processing YAML files with yq