| NUC472_NUC442_BSP V3.03.003 The Board Support Package for NUC472/NUC442

Modules | Macros
USB Host Audio Class Driver Exported Constants
NUC472/NUC442 Device Driver » USB Host Audio Class Driver
Collaboration diagram for USB Host Audio Class Driver Exported Constants:

## Modules
| USB Host Audio Class Driver Exported Type Define

## Macros
#define | CONFIG_AU_MAX_DEV
#define | MAX_CFG_DESC_SIZE
#define | MAX_FEATURE_UNIT
#define | ISO_IN_URB_CNT
#define | ISO_OUT_URB_CNT
#define | AU_IN_MAX_PKTSZ
#define | AU_OUT_MAX_PKTSZ
#define | UAC_REQ_TIMEOUT
#define | UAC_SPEAKER
#define | UAC_MICROPHONE
#define | UAC_RET_OK
#define | UAC_RET_DEV_NOT_FOUND
#define | UAC_RET_IO_ERR
#define | UAC_RET_INVALID
#define | UAC_RET_OUT_OF_MEMORY
#define | UAC_RET_DRV_NOT_SUPPORTED
#define | UAC_RET_DEV_NOT_SUPPORTED
#define | UAC_SET_CUR
#define | UAC_GET_CUR
#define | UAC_SET_MIN
#define | UAC_GET_MIN
#define | UAC_SET_MAX
#define | UAC_GET_MAX
#define | UAC_SET_RES
#define | UAC_GET_RES
#define | UAC_GET_STAT
#define | UAC_CH_MASTER
#define | UAC_CH_LEFT_FRONT
#define | UAC_CH_RIGHT_FRONT
#define | UAC_CH_CENTER_FRONT
#define | UAC_CH_LOW_FREQ_EN
#define | UAC_CH_LEFT_SRN
#define | UAC_CH_RIGHT_SRN
#define | UAC_CH_LEFT_OF_CENTER
#define | UAC_CH_RIGHT_OF_CENTER
#define | UAC_CH_SURROUND
#define | UAC_CH_SIDE_LEFT
#define | UAC_CH_SIDE_RIGHT
#define | UAC_CH_TOP

## Detailed Description

## Macro Definition Documentation

## ◆ AU_IN_MAX_PKTSZ

#define AU_IN_MAX_PKTSZ

Audio in maximum packet size supported

Definition at line 24 of file usbh_uac.h.

## ◆ AU_OUT_MAX_PKTSZ

#define AU_OUT_MAX_PKTSZ

Audio in maximum packet size supported

Definition at line 25 of file usbh_uac.h.

## ◆ CONFIG_AU_MAX_DEV

#define CONFIG_AU_MAX_DEV

Maximum number of Audio Class device.

Definition at line 19 of file usbh_uac.h.

## ◆ ISO_IN_URB_CNT

#define ISO_IN_URB_CNT

Number of USB transfer blocks used by audio in stream

Definition at line 22 of file usbh_uac.h.

## ◆ ISO_OUT_URB_CNT

#define ISO_OUT_URB_CNT

Number of USB transfer blocks used by audio out stream

Definition at line 23 of file usbh_uac.h.

## ◆ MAX_CFG_DESC_SIZE

#define MAX_CFG_DESC_SIZE

The acceptable maximum size of Audio Class device configuration descriptor.

Definition at line 20 of file usbh_uac.h.

## ◆ MAX_FEATURE_UNIT

#define MAX_FEATURE_UNIT

The acceptable maximum number of feature units.

Definition at line 21 of file usbh_uac.h.

## ◆ UAC_CH_CENTER_FRONT

#define UAC_CH_CENTER_FRONT

Select Center Front (C) channel

Definition at line 63 of file usbh_uac.h.

## ◆ UAC_CH_LEFT_FRONT

#define UAC_CH_LEFT_FRONT

Select Left Front (L) channel

Definition at line 61 of file usbh_uac.h.

## ◆ UAC_CH_LEFT_OF_CENTER

#define UAC_CH_LEFT_OF_CENTER

Select Left of Center (LC) channel

Definition at line 67 of file usbh_uac.h.

## ◆ UAC_CH_LEFT_SRN

#define UAC_CH_LEFT_SRN

Select Left Surround (LS) channel

Definition at line 65 of file usbh_uac.h.

## ◆ UAC_CH_LOW_FREQ_EN

#define UAC_CH_LOW_FREQ_EN

Select Low Frequency Enhancement (LFE) channel

Definition at line 64 of file usbh_uac.h.

## ◆ UAC_CH_MASTER

#define UAC_CH_MASTER

Select all channels

Definition at line 60 of file usbh_uac.h.

## ◆ UAC_CH_RIGHT_FRONT

#define UAC_CH_RIGHT_FRONT

Select Right Front (R) channel

Definition at line 62 of file usbh_uac.h.

## ◆ UAC_CH_RIGHT_OF_CENTER

#define UAC_CH_RIGHT_OF_CENTER

Select Right of Center (RC) channel

Definition at line 68 of file usbh_uac.h.

## ◆ UAC_CH_RIGHT_SRN

#define UAC_CH_RIGHT_SRN

Select Right Surround (RS) channel

Definition at line 66 of file usbh_uac.h.

## ◆ UAC_CH_SIDE_LEFT

#define UAC_CH_SIDE_LEFT

Select Side Left (SL) channel

Definition at line 70 of file usbh_uac.h.

## ◆ UAC_CH_SIDE_RIGHT

#define UAC_CH_SIDE_RIGHT

Select Side Right (SR) channel

Definition at line 71 of file usbh_uac.h.

## ◆ UAC_CH_SURROUND

#define UAC_CH_SURROUND

Select Surround (S) channel

Definition at line 69 of file usbh_uac.h.

## ◆ UAC_CH_TOP

#define UAC_CH_TOP

Select Top (T) channel

Definition at line 72 of file usbh_uac.h.

## ◆ UAC_GET_CUR

#define UAC_GET_CUR

UAC request to get current value

Definition at line 48 of file usbh_uac.h.

## ◆ UAC_GET_MAX

#define UAC_GET_MAX

UAC request to get upper-bound setting

Definition at line 52 of file usbh_uac.h.

## ◆ UAC_GET_MIN

#define UAC_GET_MIN

UAC request to get lower-bound setting

Definition at line 50 of file usbh_uac.h.

## ◆ UAC_GET_RES

#define UAC_GET_RES

UAC request to get resolution

Definition at line 54 of file usbh_uac.h.

## ◆ UAC_GET_STAT

#define UAC_GET_STAT

UAC request to get status

Definition at line 55 of file usbh_uac.h.

## ◆ UAC_MICROPHONE

#define UAC_MICROPHONE

Control target is microphone of UAC device.

Definition at line 29 of file usbh_uac.h.

## ◆ UAC_REQ_TIMEOUT

#define UAC_REQ_TIMEOUT

UAC control request timeout value in miniseconds.

Definition at line 26 of file usbh_uac.h.

## ◆ UAC_RET_DEV_NOT_FOUND

#define UAC_RET_DEV_NOT_FOUND

Audio Class device not found or removed.

Definition at line 36 of file usbh_uac.h.

## ◆ UAC_RET_DEV_NOT_SUPPORTED

#define UAC_RET_DEV_NOT_SUPPORTED

Function not supported by the UAC device.

Definition at line 41 of file usbh_uac.h.

## ◆ UAC_RET_DRV_NOT_SUPPORTED

#define UAC_RET_DRV_NOT_SUPPORTED

Function not supported by this UAC driver.

Definition at line 40 of file usbh_uac.h.

## ◆ UAC_RET_INVALID

#define UAC_RET_INVALID

Invalid parameter or usage.

Definition at line 38 of file usbh_uac.h.

## ◆ UAC_RET_IO_ERR

#define UAC_RET_IO_ERR

USB transfer failed.

Definition at line 37 of file usbh_uac.h.

## ◆ UAC_RET_OK

#define UAC_RET_OK

Return with no errors.

Definition at line 35 of file usbh_uac.h.

## ◆ UAC_RET_OUT_OF_MEMORY

#define UAC_RET_OUT_OF_MEMORY

Out of memory.

Definition at line 39 of file usbh_uac.h.

## ◆ UAC_SET_CUR

#define UAC_SET_CUR

UAC request to set current value

Definition at line 47 of file usbh_uac.h.

## ◆ UAC_SET_MAX

#define UAC_SET_MAX

UAC request to set upper-bound setting

Definition at line 51 of file usbh_uac.h.

## ◆ UAC_SET_MIN

#define UAC_SET_MIN

UAC request to set lower-bound setting

Definition at line 49 of file usbh_uac.h.

## ◆ UAC_SET_RES

#define UAC_SET_RES

UAC request to set resolution

Definition at line 53 of file usbh_uac.h.

## ◆ UAC_SPEAKER

#define UAC_SPEAKER

Control target is speaker of UAC device.

Definition at line 28 of file usbh_uac.h.