#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.
|
| 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)") |
|
#define MAX_MIDI_DEVICES 4 |
#define SND_VIRMIDI_DRIVER "snd_virmidi" |
MODULE_DESCRIPTION |
( |
"Dummy soundcard for virtual rawmidi devices" |
| ) |
|
module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
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_SUPPORTED_DEVICE |
( |
"{{ALSA,Virtual rawmidi device}}" |
| ) |
|