Defines

# usb_commun_audio.h File Reference

This file contains the usb audio definition constant parameters from USB Device Class Definition for Audio Devices Release 1.0 from USB Device Class Definition for Terminal Types Release 1.0 from USB Device Class Definition for Audio Data Formats Release 1.0. More...

Go to the source code of this file.

## Defines
#define | AUDIO_CLASS_REVISION 0x0100
| Revision of class specification - 1.0.
Global Class, SubClass & Protocol constants for AUDIO
#define | AUDIO_CLASS 0x01
#define | AUDIO_SUB_CLASS_CONTROL 0x01
| Audio control sub class.
#define | AUDIO_SUB_CLASS_STREAMING 0x02
| Audio stream sub class.
#define | AUDIO_SUB_CLASS_MIDISTREAMING 0x03
| Audio midi stream sub class.
Audio Class-Specific Descriptor Types
#define | DESCRIPTOR_AUDIO_UNDEFINED 0x20
#define | DESCRIPTOR_AUDIO_DEVICE 0x21
#define | DESCRIPTOR_AUDIO_CONFIGURATION 0x22
#define | DESCRIPTOR_AUDIO_STRING 0x23
#define | DESCRIPTOR_AUDIO_INTERFACE 0x24
#define | DESCRIPTOR_AUDIO_ENDPOINT 0x25
Audio Class-Specific AC Interface Descriptor Subtypes
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_UNDEFINED 0x00
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_HEADER 0x01
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_INPUT_TERMINAL 0x02
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_OUTPUT_TERMINAL 0x03
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_MIXER_UNIT 0x04
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_SELECTOR_UNIT 0x05
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_FEATURE_UNIT 0x06
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_PROCESSING_UNIT 0x07
#define | DESCRIPTOR_SUBTYPE_AUDIO_AC_EXTENSION_UNIT 0x08
Audio Class-Specific AS Interface Descriptor Subtypes
#define | DESCRIPTOR_SUBTYPE_AUDIO_AS_UNDEFINED 0x00
#define | DESCRIPTOR_SUBTYPE_AUDIO_AS_GENERAL 0x01
#define | DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_TYPE 0x02
#define | DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_SPECIFIC 0x03
Audio Class-Specific Endpoint Descriptor Subtypes
#define | DESCRIPTOR_SUBTYPE_AUDIO_ENDP_UNDEFINED 0x00
#define | DESCRIPTOR_SUBTYPE_AUDIO_ENDP_GENERAL 0x01
Processing Unit Process Types (in request DESCRIPTOR_AUDIO_INTERFACE + DESCRIPTOR_SUBTYPE_AUDIO_AC_PROCESSING_UNIT)
#define | AUDIO_PROCESSING_UNIT_UNDEFINED 0x00
#define | AUDIO_PROCESSING_UNIT_UPDOWNMIX 0x01
#define | AUDIO_PROCESSING_UNIT_DOLBY_PROLOGIC 0x02
#define | AUDIO_PROCESSING_UNIT_3D_STEREO_EXTENDER 0x03
#define | AUDIO_PROCESSING_UNIT_REVERBERATION 0x04
#define | AUDIO_PROCESSING_UNIT_CHORUS 0x05
#define | AUDIO_PROCESSING_UNIT_DYN_RANGE_COMP 0x06
logical audio channels
There are twelve predefined spatial locations:
#define | AUDIO_CHANNEL_NO_POSITION 0x0000
#define | AUDIO_CHANNEL_L 0x0001
#define | AUDIO_CHANNEL_R 0x0002
#define | AUDIO_CHANNEL_C 0x0004
#define | AUDIO_CHANNEL_LFE 0x0008
#define | AUDIO_CHANNEL_LS 0x0010
#define | AUDIO_CHANNEL_RS 0x0020
#define | AUDIO_CHANNEL_LC 0x0040
#define | AUDIO_CHANNEL_RC 0x0080
#define | AUDIO_CHANNEL_S 0x0100
#define | AUDIO_CHANNEL_SL 0x0200
#define | AUDIO_CHANNEL_SR 0x0400
#define | AUDIO_CHANNEL_T 0x0800
USB Terminal Types
#define | AUDIO_TE_TYPE_USB_UNDEFINE 0x0100
#define | AUDIO_TE_TYPE_USB_STREAMING 0x0101
#define | AUDIO_TE_TYPE_USB_VENDOR_SPECIFIC 0x01FF
Input Terminal Types
#define | AUDIO_TE_TYPE_INPUT_UNDEFINED 0x0200
#define | AUDIO_TE_TYPE_INPUT_MICROPHONE 0x0201
#define | AUDIO_TE_TYPE_INPUT_DESKTOP_MICROPHONE 0x0202
#define | AUDIO_TE_TYPE_INPUT_PERSONAL_MICROPHONE 0x0203
#define | AUDIO_TE_TYPE_INPUT_OMNI_DIRECTIONAL_MICROPHONE 0x0204
#define | AUDIO_TE_TYPE_INPUT_MICROPHONE_ARRAY 0x0205
#define | AUDIO_TE_TYPE_INPUT_PROCESSING_MICROPHONE_ARRAY 0x0206
Output Terminal Types
#define | AUDIO_TE_TYPE_OUTPUT_UNDEFINED 0x0300
#define | AUDIO_TE_TYPE_OUTPUT_SPEAKER 0x0301
#define | AUDIO_TE_TYPE_OUTPUT_HEADPHONES 0x0302
#define | AUDIO_TE_TYPE_OUTPUT_HEAD_MOUNTED DISPLAY AUDIO 0x0303
#define | AUDIO_TE_TYPE_OUTPUT_DESKTOP_SPEAKER 0x0304
#define | AUDIO_TE_TYPE_OUTPUT_ROOM_SPEAKER 0x0305
#define | AUDIO_TE_TYPE_OUTPUT_COMMUNICATION_SPEAKER 0x0306
#define | AUDIO_TE_TYPE_OUTPUT_LOW_FREQUENCY_EFFECTS_SPEAKER 0x0307
Bi-directional Terminal Types
#define | AUDIO_TE_TYPE_BI_UNDEFINED 0x0400
#define | AUDIO_TE_TYPE_BI_HANDSET 0x0401
#define | AUDIO_TE_TYPE_BI_HEADSET 0x0402
#define | AUDIO_TE_TYPE_BI_SPEAKERPHONE_NO_ECHO_REDUCTION 0x0403
#define | AUDIO_TE_TYPE_BI_ECHO_SUPPRESSING_SPEAKERPHONE 0x0404
#define | AUDIO_TE_TYPE_BI_ECHO_CANCELING_SPEAKERPHONE 0x0405
Telephony Terminal Types
#define | AUDIO_TE_TYPE_TELEPHONY_UNDEFINED 0x0500
#define | AUDIO_TE_TYPE_TELEPHONY_PHONE_LINE 0x0501
#define | AUDIO_TE_TYPE_TELEPHONY_TELEPHONE 0x0502
#define | AUDIO_TE_TYPE_TELEPHONY_DOWN_LINE_PHONE 0x0503
External Terminal Types
#define | AUDIO_TE_TYPE_EXTERNAL_UNDEFINED 0x0600
#define | AUDIO_TE_TYPE_EXTERNAL_ANALOG_CONNECTOR 0x0601
#define | AUDIO_TE_TYPE_EXTERNAL_DIGITAL_AUDIO_INTERFACE 0x0602
#define | AUDIO_TE_TYPE_EXTERNAL_LINE_CONNECTOR 0x0603
#define | AUDIO_TE_TYPE_EXTERNAL_LEGACY_AUDIO_CONNECTOR 0x0604
#define | AUDIO_TE_TYPE_EXTERNAL_S_PDIF_INTERFACE 0x0605
#define | AUDIO_TE_TYPE_EXTERNAL_1394_DA_STREAM 0x0606
#define | AUDIO_TE_TYPE_EXTERNAL_1394_DV_STREAM_SOUNDTRACK 0x0607
Embedded Function Terminal Types
#define | AUDIO_TE_TYPE_EMBEDDED_UNDEFINED 0x0700
#define | AUDIO_TE_TYPE_EMBEDDED_LEVEL_CALIBRATION_NOISE_SRC 0x0701
#define | AUDIO_TE_TYPE_EMBEDDED_EQUALIZATION NOISE 0x0702
#define | AUDIO_TE_TYPE_EMBEDDED_CD_PLAYER 0x0703
#define | AUDIO_TE_TYPE_EMBEDDED_DAT 0x0704
#define | AUDIO_TE_TYPE_EMBEDDED_DCC 0x0705
#define | AUDIO_TE_TYPE_EMBEDDED_MINIDISK 0x0706
#define | AUDIO_TE_TYPE_EMBEDDED_ANALOG_TAPE 0x0707
#define | AUDIO_TE_TYPE_EMBEDDED_PHONOGRAPH 0x0708
#define | AUDIO_TE_TYPE_EMBEDDED_VCR_AUDIO 0x0709
#define | AUDIO_TE_TYPE_EMBEDDED_VIDEO_DISC_AUDIO 0x070A
#define | AUDIO_TE_TYPE_EMBEDDED_DVD_AUDIO 0x070B
#define | AUDIO_TE_TYPE_EMBEDDED_TV_TUNER_AUDIO 0x070C
#define | AUDIO_TE_TYPE_EMBEDDED_SATELLITE_RECEIVER_AUDIO 0x070D
#define | AUDIO_TE_TYPE_EMBEDDED_CABLE_TUNER_AUDIO 0x070E
#define | AUDIO_TE_TYPE_EMBEDDED_DSS_AUDIO 0x070F
#define | AUDIO_TE_TYPE_EMBEDDED_RADIO_RECEIVER 0x0710
#define | AUDIO_TE_TYPE_EMBEDDED_RADIO_TRANSMITTER 0x0711
#define | AUDIO_TE_TYPE_EMBEDDED_MULTI_TRACK_RECORDER 0x0712
#define | AUDIO_TE_TYPE_EMBEDDED_SYNTHESIZER 0x0713
Format Type Codes
#define | AUDIO_FORMAT_TYPE_UNDEFINED 0x00
#define | AUDIO_FORMAT_TYPE_I 0x01
#define | AUDIO_FORMAT_TYPE_II 0x02
#define | AUDIO_FORMAT_TYPE_III 0x03
Audio Data Format Type I Codes
#define | AUDIO_FORMAT_TI_UNDEFINE 0x0000
#define | AUDIO_FORMAT_TI_PCM 0x0001
#define | AUDIO_FORMAT_TI_PCM8 0x0002
#define | AUDIO_FORMAT_TI_IEEE_FLOAT 0x0003
#define | AUDIO_FORMAT_TI_ALAW 0x0004
#define | AUDIO_FORMAT_TI_MULAW 0x0005
Audio Data Format Type II Codes
#define | AUDIO_FORMAT_TII_UNDEFINED 0x1000
#define | AUDIO_FORMAT_TII_MPEG 0x1001
#define | AUDIO_FORMAT_TII_AC_3 0x1002
Audio Data Format Type III Codes
#define | AUDIO_FORMAT_TIII_UNDEFINED 0x2000
#define | AUDIO_FORMAT_TIII_IEC1937_AC_3 0x2001
#define | AUDIO_FORMAT_TIII_IEC1937_MPEG1_L1 0x2002
#define | AUDIO_FORMAT_TIII_IEC1937_MPEG1_L2_3_OR_MP_2_NOEXT 0x2003
#define | AUDIO_FORMAT_TIII_IEC1937_MPEG2_EXT 0x2004
#define | AUDIO_FORMAT_TIII_IEC1937_MPEG2_L1_LS 0x2005
#define | AUDIO_FORMAT_TIII_IEC1937_MPEG2_L2_L3_LS 0x2006
MPEG Control Selectors
#define | AUDIO_FORMAT_CS_MP_UNDEFINED 0x00
#define | AUDIO_FORMAT_CS_MP_DUAL_CHANNEL 0x01
#define | AUDIO_FORMAT_CS_MP_SECOND_STEREO 0x02
#define | AUDIO_FORMAT_CS_MP_MULTILINGUAL 0x03
#define | AUDIO_FORMAT_CS_MP_DYN_RANGE 0x04
#define | AUDIO_FORMAT_CS_MP_SCALING 0x05
#define | AUDIO_FORMAT_CS_MP_HILO_SCALING 0x06
AC-3 Control Selectors
#define | AUDIO_FORMAT_CS_AC_CONTROL_UNDEFINED 0x00
#define | AUDIO_FORMAT_CS_AC_MODE 0x01
#define | AUDIO_FORMAT_CS_AC_DYN_RANGE 0x02
#define | AUDIO_FORMAT_CS_AC_SCALING 0x03
#define | AUDIO_FORMAT_CS_AC_HILO_SCALING 0x04
AudioControl & AudioStreaming setup requests
AudioControl requests : Terminal Control requests Mixer Unit Control requests Selector Unit Control requests Feature Unit Control requests Processing Unit Control requests Extension Unit Control requests AudioStreaming requests : Interface Control Requests
#define | SETUP_AUDIO_SET_CUR 0x01
#define | SETUP_AUDIO_SET_MIN 0x02
#define | SETUP_AUDIO_SET_MAX 0x03
#define | SETUP_AUDIO_SET_RES 0x04
#define | SETUP_AUDIO_GET_CUR 0x81
#define | SETUP_AUDIO_GET_MIN 0x82
#define | SETUP_AUDIO_GET_MAX 0x83
#define | SETUP_AUDIO_GET_RES 0x84
Additional setup Requests
Memory requests Get status requests
#define | SETUP_AUDIO_SET_MEM 0x05
#define | SETUP_AUDIO_GET_MEM 0x85
#define | SETUP_AUDIO_GET_STAT 0xFF
Control Selectors
#define | AUDIO_TE_CONTROL_CS_UNDEFINED 0x00
#define | AUDIO_TE_CONTROL_CS_COPY_PROTECT 0x01
#define | AUDIO_FU_CONTROL_CS_UNDEFINED 0x00
#define | AUDIO_FU_CONTROL_CS_MUTE 0x01
#define | AUDIO_FU_CONTROL_CS_VOLUME 0x02
#define | AUDIO_FU_CONTROL_CS_BASS 0x03
#define | AUDIO_FU_CONTROL_CS_MID 0x04
#define | AUDIO_FU_CONTROL_CS_TREBLE 0x05
#define | AUDIO_FU_CONTROL_CS_GRAPHIC_EQUALIZER 0x06
#define | AUDIO_FU_CONTROL_CS_AUTOMATIC_GAIN 0x07
#define | AUDIO_FU_CONTROL_CS_DELAY 0x08
#define | AUDIO_FU_CONTROL_CS_BASS_BOOST 0x09
#define | AUDIO_FU_CONTROL_CS_LOUDNESS 0x0A
#define | AUDIO_XU_CONTROL_CS_UNDEFINED 0x00
#define | AUDIO_XU_CONTROL_CS_ENABLE 0x01
#define | AUDIO_EP_CONTROL_CS_UNDEFINED 0x00
#define | AUDIO_EP_CONTROL_CS_SAMPLING_FREQ 0x01
#define | AUDIO_EP_CONTROL_CS_PITCH 0x02
The Copy Protect Control (AUDIO_TE_CONTROL_COPY_PROTECT) only supports the CUR attribute
#define | AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL0 0x00
#define | AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL1 0x01
#define | AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL2 0x02
Broadcast Channels (wValue)
#define | AUDIO_MIXER_CONTROL_IOCN_ALL_PROGRAM 0xFFFF
#define | AUDIO_MIXER_CONTROL_IOCN_ALL 0x0000
#define | AUDIO_FU_CONTROL_CN_ALL 0xFF
Bands parameter for AUDIO_FU_CONTROL_CS_GRAPHIC_EQUALIZER
#define | AUDIO_FU_CONTROL_BAND_EQ_25Hz 0x00000001
#define | AUDIO_FU_CONTROL_BAND_EQ_31_5Hz 0x00000002
#define | AUDIO_FU_CONTROL_BAND_EQ_40Hz 0x00000004
#define | AUDIO_FU_CONTROL_BAND_EQ_50Hz 0x00000008
#define | AUDIO_FU_CONTROL_BAND_EQ_63Hz 0x00000010
#define | AUDIO_FU_CONTROL_BAND_EQ_80Hz 0x00000020
#define | AUDIO_FU_CONTROL_BAND_EQ_100Hz 0x00000040
#define | AUDIO_FU_CONTROL_BAND_EQ_125Hz 0x00000080
#define | AUDIO_FU_CONTROL_BAND_EQ_160Hz 0x00000100
#define | AUDIO_FU_CONTROL_BAND_EQ_200Hz 0x00000200
#define | AUDIO_FU_CONTROL_BAND_EQ_250Hz 0x00000400
#define | AUDIO_FU_CONTROL_BAND_EQ_315Hz 0x00000800
#define | AUDIO_FU_CONTROL_BAND_EQ_400Hz 0x00001000
#define | AUDIO_FU_CONTROL_BAND_EQ_500Hz 0x00002000
#define | AUDIO_FU_CONTROL_BAND_EQ_630Hz 0x00004000
#define | AUDIO_FU_CONTROL_BAND_EQ_800Hz 0x00008000
#define | AUDIO_FU_CONTROL_BAND_EQ_1000Hz 0x00010000
#define | AUDIO_FU_CONTROL_BAND_EQ_1250Hz 0x00020000
#define | AUDIO_FU_CONTROL_BAND_EQ_1600Hz 0x00040000
#define | AUDIO_FU_CONTROL_BAND_EQ_2000Hz 0x00080000
#define | AUDIO_FU_CONTROL_BAND_EQ_2500Hz 0x00100000
#define | AUDIO_FU_CONTROL_BAND_EQ_3150Hz 0x00200000
#define | AUDIO_FU_CONTROL_BAND_EQ_4000Hz 0x00400000
#define | AUDIO_FU_CONTROL_BAND_EQ_5000Hz 0x00800000
#define | AUDIO_FU_CONTROL_BAND_EQ_6300Hz 0x01000000
#define | AUDIO_FU_CONTROL_BAND_EQ_8000Hz 0x02000000
#define | AUDIO_FU_CONTROL_BAND_EQ_10000Hz 0x04000000
#define | AUDIO_FU_CONTROL_BAND_EQ_12500Hz 0x08000000
#define | AUDIO_FU_CONTROL_BAND_EQ_16000Hz 0x10000000
#define | AUDIO_FU_CONTROL_BAND_EQ_20000Hz 0x20000000
Bands parameter for AUDIO_FU_CONTROL_CS_DELAY
The settings for the CUR, MIN, MAX, and RES attributes can range from zero (0x0000) to 1023.9844ms (0xFFFF) in steps of 1/64 ms (0x0001).
#define | AUDIO_FU_CONTROL_DELAY_0MS 0x0000
#define | AUDIO_FU_CONTROL_DELAY_1MS 0x0040
#define | AUDIO_FU_CONTROL_DELAY_MAX 0xFFFF
Up/Down-mix Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_UD_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_UD_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_UD_MODE_SELECT 0x02
Dolby PrologicÔ Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_DP_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_DP_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_DP_MODE_SELECT 0x02
3D Stereo Extender Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_3D_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_3D_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_3D_SPACIOUSNESS 0x03
Reverberation Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_RV_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_RV_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_RV_LEVEL 0x02
#define | AUDIO_PU_CONTROL_CS_RV_TIME 0x03
#define | AUDIO_PU_CONTROL_CS_RV_FEEDBACK 0x04
Chorus Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_CH_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_CH_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_CH_LEVEL 0x02
#define | AUDIO_PU_CONTROL_CS_CH_RATE 0x03
#define | AUDIO_PU_CONTROL_CS_CH_DEPTH 0x04
Dynamic Range Compressor Processing Unit Control Selectors
#define | AUDIO_PU_CONTROL_CS_DR_UNDEFINED 0x00
#define | AUDIO_PU_CONTROL_CS_DR_ENABLE 0x01
#define | AUDIO_PU_CONTROL_CS_DR_COMPRESSION_RATE 0x02
#define | AUDIO_PU_CONTROL_CS_DR_MAXAMPL 0x03
#define | AUDIO_PU_CONTROL_CS_DR_THRESHOLD 0x04
#define | AUDIO_PU_CONTROL_CS_DR_ATTACK_TIME 0x05
#define | AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME 0x06
bReverbType Parameter for AUDIO_PU_CONTROL_CS_RV_ENABLE Control Selectors
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM1 0
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM2 1
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM3 2
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_HALL1 3
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_HALL2 4
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_PLATE 5
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_DELAY 6
#define | AUDIO_PU_CONTROL_CS_RV_TYPE_PANNING_DELAY 7
Bands parameter for AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME
The settings for the CUR, MIN, MAX, and RES attributes can range from zero (0x0000) to 255.9961 ms (0xFFFF) in steps of 1/256 ms or 0.00390625 ms (0x0001)
#define | AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_0MS 0x0000
#define | AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_MAX 0xFFFF
Level 16bits
Used in: Mixer Unit Control requests Feature Unit Control requests with AUDIO_FU_CONTROL_CS_VOLUME The settings for the CUR, MIN, and MAX attributes can range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001) in steps of 1/256 dB The range for the CUR attribute is extended by code 0x8000, representing silence, i.e., -¥ dB. The settings for the RES attribute can only take positive values and range from 1/256 dB (0x0001) to +127.9961 dB (0x7FFF).
#define | AUDIO_CONTROL_LEVEL16_DB_STEP (1L/256)
#define | AUDIO_CONTROL_LEVEL16_MAX 0x7FFF
#define | AUDIO_CONTROL_LEVEL16_1DB 0x0100
#define | AUDIO_CONTROL_LEVEL16_0DB 0x0000
#define | AUDIO_CONTROL_LEVEL16_M1DB 0xFE00
#define | AUDIO_CONTROL_LEVEL16_MIN 0x8001
#define | AUDIO_CONTROL_LEVEL16_MUTE 0x8000
Level 8bits
Used in: Feature Unit Control requests withAUDIO_FU_CONTROL_CS_BASS, _MID, _TREBLE The settings for the CUR, MIN, and MAX attributes can range from +31.75 dB (0x7F) down to –32.00 dB (0x80) in steps of 0.25 dB (0x01) The settings for the RES attribute can only take positive values and range from 0.25 dB (0x01) to +31.75 dB (0x7F)
#define | AUDIO_CONTROL_LEVEL8_MAX 0x7F
#define | AUDIO_CONTROL_LEVEL8_0DB 0x00
#define | AUDIO_CONTROL_LEVEL8_MIN 0x80

## Detailed Description

This file contains the usb audio definition constant parameters from USB Device Class Definition for Audio Devices Release 1.0 from USB Device Class Definition for Terminal Types Release 1.0 from USB Device Class Definition for Audio Data Formats Release 1.0.

- Compiler: IAR EWAVR and GNU GCC for AVR

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file usb_commun_audio.h.

## Define Documentation

#define AUDIO_CLASS_REVISION 0x0100

Revision of class specification - 1.0.

Definition at line 49 of file usb_commun_audio.h.

#define AUDIO_CLASS 0x01

Definition at line 53 of file usb_commun_audio.h.

#define AUDIO_SUB_CLASS_CONTROL 0x01

Audio control sub class.

Definition at line 54 of file usb_commun_audio.h.

#define AUDIO_SUB_CLASS_STREAMING 0x02

Audio stream sub class.

Definition at line 55 of file usb_commun_audio.h.

#define AUDIO_SUB_CLASS_MIDISTREAMING 0x03

Audio midi stream sub class.

Definition at line 56 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_UNDEFINED 0x20

Definition at line 64 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_DEVICE 0x21

Definition at line 65 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_CONFIGURATION 0x22

Definition at line 66 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_STRING 0x23

Definition at line 67 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_INTERFACE 0x24

Definition at line 68 of file usb_commun_audio.h.

#define DESCRIPTOR_AUDIO_ENDPOINT 0x25

Definition at line 69 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_UNDEFINED 0x00

Definition at line 74 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_HEADER 0x01

Definition at line 75 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_INPUT_TERMINAL 0x02

Definition at line 76 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_OUTPUT_TERMINAL 0x03

Definition at line 77 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_MIXER_UNIT 0x04

Definition at line 78 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_SELECTOR_UNIT 0x05

Definition at line 79 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_FEATURE_UNIT 0x06

Definition at line 80 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_PROCESSING_UNIT 0x07

Definition at line 81 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AC_EXTENSION_UNIT 0x08

Definition at line 82 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AS_UNDEFINED 0x00

Definition at line 87 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AS_GENERAL 0x01

Definition at line 88 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_TYPE 0x02

Definition at line 89 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_SPECIFIC 0x03

Definition at line 90 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_ENDP_UNDEFINED 0x00

Definition at line 95 of file usb_commun_audio.h.

#define DESCRIPTOR_SUBTYPE_AUDIO_ENDP_GENERAL 0x01

Definition at line 96 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_UNDEFINED 0x00

Definition at line 101 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_UPDOWNMIX 0x01

Definition at line 102 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_DOLBY_PROLOGIC 0x02

Definition at line 103 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_3D_STEREO_EXTENDER 0x03

Definition at line 104 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_REVERBERATION 0x04

Definition at line 105 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_CHORUS 0x05

Definition at line 106 of file usb_commun_audio.h.

#define AUDIO_PROCESSING_UNIT_DYN_RANGE_COMP 0x06

Definition at line 107 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_NO_POSITION 0x0000

Definition at line 115 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_L 0x0001

Definition at line 116 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_R 0x0002

Definition at line 117 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_C 0x0004

Definition at line 118 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_LFE 0x0008

Definition at line 119 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_LS 0x0010

Definition at line 120 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_RS 0x0020

Definition at line 121 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_LC 0x0040

Definition at line 122 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_RC 0x0080

Definition at line 123 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_S 0x0100

Definition at line 124 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_SL 0x0200

Definition at line 125 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_SR 0x0400

Definition at line 126 of file usb_commun_audio.h.

#define AUDIO_CHANNEL_T 0x0800

Definition at line 127 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_USB_UNDEFINE 0x0100

Definition at line 136 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_USB_STREAMING 0x0101

Definition at line 137 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_USB_VENDOR_SPECIFIC 0x01FF

Definition at line 138 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_UNDEFINED 0x0200

Definition at line 142 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_MICROPHONE 0x0201

Definition at line 143 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_DESKTOP_MICROPHONE 0x0202

Definition at line 144 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_PERSONAL_MICROPHONE 0x0203

Definition at line 145 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_OMNI_DIRECTIONAL_MICROPHONE 0x0204

Definition at line 146 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_MICROPHONE_ARRAY 0x0205

Definition at line 147 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_INPUT_PROCESSING_MICROPHONE_ARRAY 0x0206

Definition at line 148 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_UNDEFINED 0x0300

Definition at line 152 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_SPEAKER 0x0301

Definition at line 153 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_HEADPHONES 0x0302

Definition at line 154 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_HEAD_MOUNTED DISPLAY AUDIO 0x0303

Definition at line 155 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_DESKTOP_SPEAKER 0x0304

Definition at line 156 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_ROOM_SPEAKER 0x0305

Definition at line 157 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_COMMUNICATION_SPEAKER 0x0306

Definition at line 158 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_OUTPUT_LOW_FREQUENCY_EFFECTS_SPEAKER 0x0307

Definition at line 159 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_UNDEFINED 0x0400

Definition at line 163 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_HANDSET 0x0401

Definition at line 164 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_HEADSET 0x0402

Definition at line 165 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_SPEAKERPHONE_NO_ECHO_REDUCTION 0x0403

Definition at line 166 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_ECHO_SUPPRESSING_SPEAKERPHONE 0x0404

Definition at line 167 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_BI_ECHO_CANCELING_SPEAKERPHONE 0x0405

Definition at line 168 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_TELEPHONY_UNDEFINED 0x0500

Definition at line 172 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_TELEPHONY_PHONE_LINE 0x0501

Definition at line 173 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_TELEPHONY_TELEPHONE 0x0502

Definition at line 174 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_TELEPHONY_DOWN_LINE_PHONE 0x0503

Definition at line 175 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_UNDEFINED 0x0600

Definition at line 179 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_ANALOG_CONNECTOR 0x0601

Definition at line 180 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_DIGITAL_AUDIO_INTERFACE 0x0602

Definition at line 181 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_LINE_CONNECTOR 0x0603

Definition at line 182 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_LEGACY_AUDIO_CONNECTOR 0x0604

Definition at line 183 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_S_PDIF_INTERFACE 0x0605

Definition at line 184 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_1394_DA_STREAM 0x0606

Definition at line 185 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EXTERNAL_1394_DV_STREAM_SOUNDTRACK 0x0607

Definition at line 186 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_UNDEFINED 0x0700

Definition at line 190 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_LEVEL_CALIBRATION_NOISE_SRC 0x0701

Definition at line 191 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_EQUALIZATION NOISE 0x0702

Definition at line 192 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_CD_PLAYER 0x0703

Definition at line 193 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_DAT 0x0704

Definition at line 194 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_DCC 0x0705

Definition at line 195 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_MINIDISK 0x0706

Definition at line 196 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_ANALOG_TAPE 0x0707

Definition at line 197 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_PHONOGRAPH 0x0708

Definition at line 198 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_VCR_AUDIO 0x0709

Definition at line 199 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_VIDEO_DISC_AUDIO 0x070A

Definition at line 200 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_DVD_AUDIO 0x070B

Definition at line 201 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_TV_TUNER_AUDIO 0x070C

Definition at line 202 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_SATELLITE_RECEIVER_AUDIO 0x070D

Definition at line 203 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_CABLE_TUNER_AUDIO 0x070E

Definition at line 204 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_DSS_AUDIO 0x070F

Definition at line 205 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_RADIO_RECEIVER 0x0710

Definition at line 206 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_RADIO_TRANSMITTER 0x0711

Definition at line 207 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_MULTI_TRACK_RECORDER 0x0712

Definition at line 208 of file usb_commun_audio.h.

#define AUDIO_TE_TYPE_EMBEDDED_SYNTHESIZER 0x0713

Definition at line 209 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TYPE_UNDEFINED 0x00

Definition at line 219 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TYPE_I 0x01

Definition at line 220 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TYPE_II 0x02

Definition at line 221 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TYPE_III 0x03

Definition at line 222 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_UNDEFINE 0x0000

Definition at line 229 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_PCM 0x0001

Definition at line 230 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_PCM8 0x0002

Definition at line 231 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_IEEE_FLOAT 0x0003

Definition at line 232 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_ALAW 0x0004

Definition at line 233 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TI_MULAW 0x0005

Definition at line 234 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TII_UNDEFINED 0x1000

Definition at line 238 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TII_MPEG 0x1001

Definition at line 239 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TII_AC_3 0x1002

Definition at line 240 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_UNDEFINED 0x2000

Definition at line 244 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_AC_3 0x2001

Definition at line 245 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_MPEG1_L1 0x2002

Definition at line 246 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_MPEG1_L2_3_OR_MP_2_NOEXT 0x2003

Definition at line 247 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_MPEG2_EXT 0x2004

Definition at line 248 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_MPEG2_L1_LS 0x2005

Definition at line 249 of file usb_commun_audio.h.

#define AUDIO_FORMAT_TIII_IEC1937_MPEG2_L2_L3_LS 0x2006

Definition at line 250 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_UNDEFINED 0x00

Definition at line 258 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_DUAL_CHANNEL 0x01

Definition at line 259 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_SECOND_STEREO 0x02

Definition at line 260 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_MULTILINGUAL 0x03

Definition at line 261 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_DYN_RANGE 0x04

Definition at line 262 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_SCALING 0x05

Definition at line 263 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_MP_HILO_SCALING 0x06

Definition at line 264 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_AC_CONTROL_UNDEFINED 0x00

Definition at line 268 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_AC_MODE 0x01

Definition at line 269 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_AC_DYN_RANGE 0x02

Definition at line 270 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_AC_SCALING 0x03

Definition at line 271 of file usb_commun_audio.h.

#define AUDIO_FORMAT_CS_AC_HILO_SCALING 0x04

Definition at line 272 of file usb_commun_audio.h.

#define SETUP_AUDIO_SET_CUR 0x01

Definition at line 295 of file usb_commun_audio.h.

#define SETUP_AUDIO_SET_MIN 0x02

Definition at line 296 of file usb_commun_audio.h.

#define SETUP_AUDIO_SET_MAX 0x03

Definition at line 297 of file usb_commun_audio.h.

#define SETUP_AUDIO_SET_RES 0x04

Definition at line 298 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_CUR 0x81

Definition at line 299 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_MIN 0x82

Definition at line 300 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_MAX 0x83

Definition at line 301 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_RES 0x84

Definition at line 302 of file usb_commun_audio.h.

#define SETUP_AUDIO_SET_MEM 0x05

Definition at line 308 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_MEM 0x85

Definition at line 309 of file usb_commun_audio.h.

#define SETUP_AUDIO_GET_STAT 0xFF

Definition at line 310 of file usb_commun_audio.h.

#define AUDIO_TE_CONTROL_CS_UNDEFINED 0x00

Definition at line 320 of file usb_commun_audio.h.

#define AUDIO_TE_CONTROL_CS_COPY_PROTECT 0x01

Definition at line 321 of file usb_commun_audio.h.

#define AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL0 0x00

Definition at line 325 of file usb_commun_audio.h.

#define AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL1 0x01

Definition at line 326 of file usb_commun_audio.h.

#define AUDIO_TE_CONTROL_CS_COPY_PROTECT_ATT_CPL2 0x02

Definition at line 327 of file usb_commun_audio.h.

#define AUDIO_MIXER_CONTROL_IOCN_ALL_PROGRAM 0xFFFF

Definition at line 338 of file usb_commun_audio.h.

#define AUDIO_MIXER_CONTROL_IOCN_ALL 0x0000

Definition at line 339 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_UNDEFINED 0x00

Definition at line 360 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_MUTE 0x01

Definition at line 361 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_VOLUME 0x02

Definition at line 362 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_BASS 0x03

Definition at line 363 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_MID 0x04

Definition at line 364 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_TREBLE 0x05

Definition at line 365 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_GRAPHIC_EQUALIZER 0x06

Definition at line 366 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_AUTOMATIC_GAIN 0x07

Definition at line 367 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_DELAY 0x08

Definition at line 368 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_BASS_BOOST 0x09

Definition at line 369 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CS_LOUDNESS 0x0A

Definition at line 370 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_CN_ALL 0xFF

Definition at line 374 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_25Hz 0x00000001

Definition at line 379 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_31_5Hz 0x00000002

Definition at line 380 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_40Hz 0x00000004

Definition at line 381 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_50Hz 0x00000008

Definition at line 382 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_63Hz 0x00000010

Definition at line 383 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_80Hz 0x00000020

Definition at line 384 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_100Hz 0x00000040

Definition at line 385 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_125Hz 0x00000080

Definition at line 386 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_160Hz 0x00000100

Definition at line 387 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_200Hz 0x00000200

Definition at line 388 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_250Hz 0x00000400

Definition at line 389 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_315Hz 0x00000800

Definition at line 390 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_400Hz 0x00001000

Definition at line 391 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_500Hz 0x00002000

Definition at line 392 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_630Hz 0x00004000

Definition at line 393 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_800Hz 0x00008000

Definition at line 394 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_1000Hz 0x00010000

Definition at line 395 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_1250Hz 0x00020000

Definition at line 396 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_1600Hz 0x00040000

Definition at line 397 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_2000Hz 0x00080000

Definition at line 398 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_2500Hz 0x00100000

Definition at line 399 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_3150Hz 0x00200000

Definition at line 400 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_4000Hz 0x00400000

Definition at line 401 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_5000Hz 0x00800000

Definition at line 402 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_6300Hz 0x01000000

Definition at line 403 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_8000Hz 0x02000000

Definition at line 404 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_10000Hz 0x04000000

Definition at line 405 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_12500Hz 0x08000000

Definition at line 406 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_16000Hz 0x10000000

Definition at line 407 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_BAND_EQ_20000Hz 0x20000000

Definition at line 408 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_DELAY_0MS 0x0000

Definition at line 413 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_DELAY_1MS 0x0040

Definition at line 414 of file usb_commun_audio.h.

#define AUDIO_FU_CONTROL_DELAY_MAX 0xFFFF

Definition at line 415 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_UD_UNDEFINED 0x00

Definition at line 426 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_UD_ENABLE 0x01

Definition at line 427 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_UD_MODE_SELECT 0x02

Definition at line 428 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DP_UNDEFINED 0x00

Definition at line 432 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DP_ENABLE 0x01

Definition at line 433 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DP_MODE_SELECT 0x02

Definition at line 434 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_3D_UNDEFINED 0x00

Definition at line 438 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_3D_ENABLE 0x01

Definition at line 439 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_3D_SPACIOUSNESS 0x03

Definition at line 440 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_UNDEFINED 0x00

Definition at line 444 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_ENABLE 0x01

Definition at line 445 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_LEVEL 0x02

Definition at line 446 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TIME 0x03

Definition at line 447 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_FEEDBACK 0x04

Definition at line 448 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_CH_UNDEFINED 0x00

Definition at line 452 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_CH_ENABLE 0x01

Definition at line 453 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_CH_LEVEL 0x02

Definition at line 454 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_CH_RATE 0x03

Definition at line 455 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_CH_DEPTH 0x04

Definition at line 456 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_UNDEFINED 0x00

Definition at line 460 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_ENABLE 0x01

Definition at line 461 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_COMPRESSION_RATE 0x02

Definition at line 462 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_MAXAMPL 0x03

Definition at line 463 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_THRESHOLD 0x04

Definition at line 464 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_ATTACK_TIME 0x05

Definition at line 465 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME 0x06

Definition at line 466 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM1 0

Definition at line 470 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM2 1

Definition at line 471 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_ROOM3 2

Definition at line 472 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_HALL1 3

Definition at line 473 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_HALL2 4

Definition at line 474 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_PLATE 5

Definition at line 475 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_DELAY 6

Definition at line 476 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_RV_TYPE_PANNING_DELAY 7

Definition at line 477 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_0MS 0x0000

Definition at line 482 of file usb_commun_audio.h.

#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_MAX 0xFFFF

Definition at line 483 of file usb_commun_audio.h.

#define AUDIO_XU_CONTROL_CS_UNDEFINED 0x00

Definition at line 494 of file usb_commun_audio.h.

#define AUDIO_XU_CONTROL_CS_ENABLE 0x01

Definition at line 495 of file usb_commun_audio.h.

#define AUDIO_EP_CONTROL_CS_UNDEFINED 0x00

Definition at line 505 of file usb_commun_audio.h.

#define AUDIO_EP_CONTROL_CS_SAMPLING_FREQ 0x01

Definition at line 506 of file usb_commun_audio.h.

#define AUDIO_EP_CONTROL_CS_PITCH 0x02

Definition at line 507 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_DB_STEP (1L/256)

Definition at line 540 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_MAX 0x7FFF

Definition at line 541 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_1DB 0x0100

Definition at line 542 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_0DB 0x0000

Definition at line 543 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_M1DB 0xFE00

Definition at line 544 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_MIN 0x8001

Definition at line 545 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL16_MUTE 0x8000

Definition at line 546 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL8_MAX 0x7F

Definition at line 555 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL8_0DB 0x00

Definition at line 556 of file usb_commun_audio.h.

#define AUDIO_CONTROL_LEVEL8_MIN 0x80

Definition at line 557 of file usb_commun_audio.h.