#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/atomic.h>
#include "u_uac1.h"
Go to the source code of this file.
#define F_AUDIO_AC_INTERFACE 0 |
#define F_AUDIO_AS_INTERFACE 1 |
#define F_AUDIO_NUM_INTERFACES 2 |
#define FEATURE_UNIT_ID 2 |
#define INPUT_TERMINAL_ID 1 |
#define OUT_EP_MAX_PACKET_SIZE 200 |
#define OUTPUT_TERMINAL_ID 3 |
#define UAC_DT_TOTAL_LENGTH |
audio_bind_config - add USB audio function to a configuration
: the configuration to supcard the USB audio function Context: single threaded during gadget setup
Returns zero on success, else negative errno.
Definition at line 730 of file f_uac1.c.
DECLARE_UAC_AC_HEADER_DESCRIPTOR |
( |
2 |
| ) |
|
DECLARE_UAC_FEATURE_UNIT_DESCRIPTOR |
( |
0 |
| ) |
|
DECLARE_UAC_FORMAT_TYPE_I_DISCRETE_DESC |
( |
1 |
| ) |
|
MODULE_PARM_DESC |
( |
audio_buf_size |
, |
|
|
"Audio buffer size" |
|
|
) |
| |