#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/usb/audio.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "../usbaudio.h"
#include "../midi.h"
Go to the source code of this file.
|
| enum | { INTF_PLAYBACK,
INTF_CAPTURE,
INTF_MIDI,
INTF_COUNT
} |
| |
| enum | {
USB_CAPTURE_RUNNING,
USB_PLAYBACK_RUNNING,
ALSA_CAPTURE_OPEN,
ALSA_PLAYBACK_OPEN,
ALSA_CAPTURE_RUNNING,
ALSA_PLAYBACK_RUNNING,
CAPTURE_URB_COMPLETED,
PLAYBACK_URB_COMPLETED,
DISCONNECTED
} |
| |
|
| | MODULE_DESCRIPTION ("Edirol UA-101/1000 driver") |
| |
| | MODULE_AUTHOR ("Clemens Ladisch <[email protected]>") |
| |
| | MODULE_LICENSE ("GPL v2") |
| |
| | MODULE_SUPPORTED_DEVICE ("{{Edirol,UA-101},{Edirol,UA-1000}}") |
| |
| | module_param_array (index, int, NULL, 0444) |
| |
| | MODULE_PARM_DESC (index,"card index") |
| |
| | module_param_array (id, charp, NULL, 0444) |
| |
| | MODULE_PARM_DESC (id,"ID string") |
| |
| | module_param_array (enable, bool, NULL, 0444) |
| |
| | MODULE_PARM_DESC (enable,"enable card") |
| |
| | module_param (queue_length, uint, 0644) |
| |
| | MODULE_PARM_DESC (queue_length,"USB queue length in microframes, "__stringify(MIN_QUEUE_LENGTH)"-"__stringify(MAX_QUEUE_LENGTH)) |
| |
| | MODULE_DEVICE_TABLE (usb, ua101_ids) |
| |
| | module_usb_driver (ua101_driver) |
| |
| #define DEFAULT_QUEUE_LENGTH 21 |
| #define MAX_MEMORY_BUFFERS |
Value:
Definition at line 50 of file ua101.c.
| #define MAX_PACKET_SIZE 672 /* hardware specific */ |
| #define MAX_QUEUE_LENGTH 30 |
| #define MIN_QUEUE_LENGTH 12 |
- Enumerator:
| INTF_PLAYBACK |
|
| INTF_CAPTURE |
|
| INTF_MIDI |
|
| INTF_COUNT |
|
Definition at line 68 of file ua101.c.
- Enumerator:
| USB_CAPTURE_RUNNING |
|
| USB_PLAYBACK_RUNNING |
|
| ALSA_CAPTURE_OPEN |
|
| ALSA_PLAYBACK_OPEN |
|
| ALSA_CAPTURE_RUNNING |
|
| ALSA_PLAYBACK_RUNNING |
|
| CAPTURE_URB_COMPLETED |
|
| PLAYBACK_URB_COMPLETED |
|
| DISCONNECTED |
|
Definition at line 77 of file ua101.c.
| MODULE_DESCRIPTION |
( |
"Edirol UA-101/1000 driver" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
ua101_ids |
|
|
) |
| |
| MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
| module_param |
( |
queue_length |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
| module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
queue_length |
, |
|
|
"USB queue length in |
microframes, |
|
|
" |
__stringifyMIN_QUEUE_LENGTH)"-"__stringify(MAX_QUEUE_LENGTH |
|
) |
| |
| MODULE_SUPPORTED_DEVICE |
( |
"{{Edirol,UA-101},{Edirol,UA-1000}}" |
| ) |
|
| module_usb_driver |
( |
ua101_driver |
| ) |
|