#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/info.h>
#include <sound/initval.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>") |
|
| MODULE_DESCRIPTION ("A loopback soundcard") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_SUPPORTED_DEVICE ("{{ALSA,Loopback soundcard}}") |
|
| module_param_array (index, int, NULL, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for loopback soundcard.") |
|
| module_param_array (id, charp, NULL, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for loopback soundcard.") |
|
| module_param_array (enable, bool, NULL, 0444) |
|
| MODULE_PARM_DESC (enable,"Enable this loopback soundcard.") |
|
| module_param_array (pcm_substreams, int, NULL, 0444) |
|
| MODULE_PARM_DESC (pcm_substreams,"PCM substreams # (1-8) for loopback driver.") |
|
| module_param_array (pcm_notify, int, NULL, 0444) |
|
| MODULE_PARM_DESC (pcm_notify,"Break capture when PCM format/rate/channels changes.") |
|
#define LOOPBACK_PM_OPS NULL |
#define loopback_proc_new |
( |
|
loopback, |
|
|
|
cidx |
|
) |
| do { } while (0) |
#define MAX_PCM_SUBSTREAMS 8 |
#define SND_LOOPBACK_DRIVER "snd_aloop" |
MODULE_DESCRIPTION |
( |
"A loopback soundcard" |
| ) |
|
module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
pcm_substreams |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
pcm_notify |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
pcm_substreams |
, |
|
|
"PCM substreams # (1-8) for loopback driver." |
|
|
) |
| |
MODULE_SUPPORTED_DEVICE |
( |
"{{ALSA,Loopback soundcard}}" |
| ) |
|