#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/rawmidi.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/audio.h>
#include <linux/usb/midi.h>
Go to the source code of this file.
#define STRING_FUNC_IDX 0 |
DECLARE_UAC_AC_HEADER_DESCRIPTOR |
( |
1 |
| ) |
|
DECLARE_USB_MIDI_OUT_JACK_DESCRIPTOR |
( |
1 |
| ) |
|
DECLARE_USB_MS_ENDPOINT_DESCRIPTOR |
( |
16 |
| ) |
|
f_midi_bind_config - add USB MIDI function to a configuration
: the configuration to supcard the USB audio function : the soundcard index to use for the ALSA device creation : the soundcard id to use for the ALSA device creation : the buffer length to use the number of read requests to pre-allocate Context: single threaded during gadget setup
Returns zero on success, else negative errno.
Definition at line 920 of file f_midi.c.
MODULE_AUTHOR |
( |
"Ben Williamson" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|