Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
virmidi.c File Reference
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/seq_kernel.h>
#include <sound/seq_virmidi.h>
#include <sound/initval.h>

Go to the source code of this file.

Data Structures

struct  snd_card_virmidi
 

Macros

#define MAX_MIDI_DEVICES   4
 
#define SND_VIRMIDI_DRIVER   "snd_virmidi"
 

Functions

 MODULE_AUTHOR ("Takashi Iwai <[email protected]>")
 
 MODULE_DESCRIPTION ("Dummy soundcard for virtual rawmidi devices")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_SUPPORTED_DEVICE ("{{ALSA,Virtual rawmidi device}}")
 
 module_param_array (index, int, NULL, 0444)
 
 MODULE_PARM_DESC (index,"Index value for virmidi soundcard.")
 
 module_param_array (id, charp, NULL, 0444)
 
 MODULE_PARM_DESC (id,"ID string for virmidi soundcard.")
 
 module_param_array (enable, bool, NULL, 0444)
 
 MODULE_PARM_DESC (enable,"Enable this soundcard.")
 
 module_param_array (midi_devs, int, NULL, 0444)
 
 MODULE_PARM_DESC (midi_devs,"MIDI devices # (1-4)")
 

Macro Definition Documentation

#define MAX_MIDI_DEVICES   4

Definition at line 62 of file virmidi.c.

#define SND_VIRMIDI_DRIVER   "snd_virmidi"

Definition at line 139 of file virmidi.c.

Function Documentation

MODULE_AUTHOR ( "Takashi Iwai <[email protected]>"  )
MODULE_DESCRIPTION ( "Dummy soundcard for virtual rawmidi devices )
MODULE_LICENSE ( "GPL"  )
module_param_array ( index  ,
int  ,
NULL  ,
0444   
)
module_param_array ( id  ,
charp  ,
NULL  ,
0444   
)
module_param_array ( enable  ,
bool  ,
NULL  ,
0444   
)
module_param_array ( midi_devs  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( index  ,
"Index value for virmidi soundcard."   
)
MODULE_PARM_DESC ( id  ,
"ID string for virmidi soundcard."   
)
MODULE_PARM_DESC ( enable  ,
"Enable this soundcard."   
)
MODULE_PARM_DESC ( midi_devs  ,
"MIDI devices # (1-4)"   
)
MODULE_SUPPORTED_DEVICE ( "{{ALSA,Virtual rawmidi device}}"  )