15#include "../src_uac/uac.h"
30#define CONFIG_UAC_MAX_DEV 3
32#define UAC_REQ_TIMEOUT 50
35#define UAC_MICROPHONE 2
40#define UAC_SET_CUR 0x01
41#define UAC_GET_CUR 0x81
42#define UAC_SET_MIN 0x02
43#define UAC_GET_MIN 0x82
44#define UAC_SET_MAX 0x03
45#define UAC_GET_MAX 0x83
46#define UAC_SET_RES 0x04
47#define UAC_GET_RES 0x84
48#define UAC_GET_STAT 0xFF
53#define UAC_CH_MASTER 0
54#define UAC_CH_LEFT_FRONT 1
55#define UAC_CH_RIGHT_FRONT 2
56#define UAC_CH_CENTER_FRONT 3
57#define UAC_CH_LOW_FREQ_EN 4
58#define UAC_CH_LEFT_SRN 5
59#define UAC_CH_RIGHT_SRN 6
60#define UAC_CH_LEFT_OF_CENTER 7
61#define UAC_CH_RIGHT_OF_CENTER 8
62#define UAC_CH_SURROUND 9
63#define UAC_CH_SIDE_LEFT 10
64#define UAC_CH_SIDE_RIGHT 11
124extern int uac_parse_control_interface(
UAC_DEV_T *uac, IFACE_T *iface);
125extern int uac_parse_streaming_interface(
UAC_DEV_T *uac, IFACE_T *iface, uint8_t bAlternateSetting);
126extern int usbh_uac_find_best_alt(IFACE_T *iface, uint8_t dir, uint8_t attr,
int pkt_sz, uint8_t *bAlternateSetting);
127extern int usbh_uac_find_max_alt(IFACE_T *iface, uint8_t dir, uint8_t attr, uint8_t *bAlternateSetting);
NuMicro peripheral access layer header file.
UAC_CB_FUNC * func_au_out
struct uac_dev_t UAC_DEV_T
int() UAC_CB_FUNC(struct uac_dev_t *dev, uint8_t *data, int len)
USB Host library header file.
USB Host library exported header file.