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