snd_register_device man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SND_REGISTER_DEVICE(9)	    Miscellaneous Functions	SND_REGISTER_DEVICE(9)

NAME
       snd_register_device - Register the ALSA device file for the card

SYNOPSIS
       int snd_register_device(int type, struct snd_card * card, int dev,
			       const struct file_operations * f_ops,
			       void * private_data, const char * name);

ARGUMENTS
       type
	   the device type, SNDRV_DEVICE_TYPE_XXX

       card
	   the card instance

       dev
	   the device index

       f_ops
	   the file operations

       private_data
	   user pointer for f_ops->open

       name
	   the device file name

DESCRIPTION
       Registers an ALSA device file for the given card. The operators have to
       be set in reg parameter.

       This function uses the card´s device pointer to link to the correct
       struct device.

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

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		SND_REGISTER_DEVICE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net