Atmel Software Framework

usb_audio.h File Reference

Macros

#define AUDIO_CLASS_REVISION   0x0100
 Revision of class specification - 1.0. More...
 
#define BR_REQUEST_GET_CUR   0x81
 
#define BR_REQUEST_GET_MAX   0x83
 
#define BR_REQUEST_GET_MIN   0x82
 
#define BR_REQUEST_GET_RES   0x84
 
#define BR_REQUEST_SET_CUR   0x01
 
#define BR_REQUEST_SET_MAX   0x03
 
#define BR_REQUEST_SET_MIN   0x02
 
#define BR_REQUEST_SET_RES   0x04
 
#define CS_ENDPOINT   0x25
 
#define CS_INTERFACE   0x24
 
#define CS_MUTE   0x0100
 Audio volume ctrl configuration. More...
 
#define CS_VOLUME   0x0200
 
#define FEATURE_UNIT_SUB_TYPE   0x06
 
#define FEATURE_UNIT_SUB_TYPE   0x06
 
#define FORMAT_SUB_TYPE   0x02
 
#define GENERAL_SUB_TYPE   0x01
 
#define HEADER_SUB_TYPE   0x01
 
#define INPUT_TERMINAL_SUB_TYPE   0x02
 
#define MIXER_UNIT_SUB_TYPE   0x04
 
#define OUTPUT_TERMINAL_SUB_TYPE   0x03
 
Standard Endpoint Descriptor Types
#define ENDPOINT_TYPE_NO_SYNC   0x00
 
#define ENDPOINT_TYPE_ASYNCHRONOUS   0x01
 
#define ENDPOINT_TYPE_ADAPTIVE   0x02
 
#define ENDPOINT_TYPE_SYNCHRONOUS   0x03
 
#define ENDPOINT_TYPE_OFFSET   2
 
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_SAMPLING_FREQ_CONTROL   0x01
 
#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(R) 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., -inf 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
 

#define AUDIO_CHANNEL_C   0x0004
#define AUDIO_CHANNEL_L   0x0001
#define AUDIO_CHANNEL_LC   0x0040
#define AUDIO_CHANNEL_LFE   0x0008
#define AUDIO_CHANNEL_LS   0x0010
#define AUDIO_CHANNEL_NO_POSITION   0x0000
#define AUDIO_CHANNEL_R   0x0002
#define AUDIO_CHANNEL_RC   0x0080
#define AUDIO_CHANNEL_RS   0x0020
#define AUDIO_CHANNEL_S   0x0100
#define AUDIO_CHANNEL_SL   0x0200
#define AUDIO_CHANNEL_SR   0x0400
#define AUDIO_CHANNEL_T   0x0800
#define AUDIO_CLASS_REVISION   0x0100

Revision of class specification - 1.0.

#define AUDIO_CONTROL_LEVEL16_0DB   0x0000
#define AUDIO_CONTROL_LEVEL16_1DB   0x0100
#define AUDIO_CONTROL_LEVEL16_DB_STEP   (1L/256)
#define AUDIO_CONTROL_LEVEL16_M1DB   0xFE00
#define AUDIO_CONTROL_LEVEL16_MAX   0x7FFF
#define AUDIO_CONTROL_LEVEL16_MIN   0x8001
#define AUDIO_CONTROL_LEVEL16_MUTE   0x8000
#define AUDIO_CONTROL_LEVEL8_0DB   0x00
#define AUDIO_CONTROL_LEVEL8_MAX   0x7F
#define AUDIO_CONTROL_LEVEL8_MIN   0x80
#define AUDIO_EP_CONTROL_CS_PITCH   0x02
#define AUDIO_EP_CONTROL_CS_SAMPLING_FREQ   0x01
#define AUDIO_EP_CONTROL_CS_UNDEFINED   0x00
#define AUDIO_FORMAT_CS_AC_CONTROL_UNDEFINED   0x00
#define AUDIO_FORMAT_CS_AC_DYN_RANGE   0x02
#define AUDIO_FORMAT_CS_AC_HILO_SCALING   0x04
#define AUDIO_FORMAT_CS_AC_MODE   0x01
#define AUDIO_FORMAT_CS_AC_SCALING   0x03
#define AUDIO_FORMAT_CS_MP_DUAL_CHANNEL   0x01
#define AUDIO_FORMAT_CS_MP_DYN_RANGE   0x04
#define AUDIO_FORMAT_CS_MP_HILO_SCALING   0x06
#define AUDIO_FORMAT_CS_MP_MULTILINGUAL   0x03
#define AUDIO_FORMAT_CS_MP_SCALING   0x05
#define AUDIO_FORMAT_CS_MP_SECOND_STEREO   0x02
#define AUDIO_FORMAT_CS_MP_UNDEFINED   0x00
#define AUDIO_FORMAT_TI_ALAW   0x0004
#define AUDIO_FORMAT_TI_IEEE_FLOAT   0x0003
#define AUDIO_FORMAT_TI_MULAW   0x0005
#define AUDIO_FORMAT_TI_PCM   0x0001
#define AUDIO_FORMAT_TI_PCM8   0x0002
#define AUDIO_FORMAT_TI_UNDEFINE   0x0000
#define AUDIO_FORMAT_TII_AC_3   0x1002
#define AUDIO_FORMAT_TII_MPEG   0x1001
#define AUDIO_FORMAT_TII_UNDEFINED   0x1000
#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
#define AUDIO_FORMAT_TIII_UNDEFINED   0x2000
#define AUDIO_FORMAT_TYPE_I   0x01
#define AUDIO_FORMAT_TYPE_II   0x02
#define AUDIO_FORMAT_TYPE_III   0x03
#define AUDIO_FORMAT_TYPE_UNDEFINED   0x00
#define AUDIO_FU_CONTROL_BAND_EQ_10000Hz   0x04000000
#define AUDIO_FU_CONTROL_BAND_EQ_1000Hz   0x00010000
#define AUDIO_FU_CONTROL_BAND_EQ_100Hz   0x00000040
#define AUDIO_FU_CONTROL_BAND_EQ_12500Hz   0x08000000
#define AUDIO_FU_CONTROL_BAND_EQ_1250Hz   0x00020000
#define AUDIO_FU_CONTROL_BAND_EQ_125Hz   0x00000080
#define AUDIO_FU_CONTROL_BAND_EQ_16000Hz   0x10000000
#define AUDIO_FU_CONTROL_BAND_EQ_1600Hz   0x00040000
#define AUDIO_FU_CONTROL_BAND_EQ_160Hz   0x00000100
#define AUDIO_FU_CONTROL_BAND_EQ_20000Hz   0x20000000
#define AUDIO_FU_CONTROL_BAND_EQ_2000Hz   0x00080000
#define AUDIO_FU_CONTROL_BAND_EQ_200Hz   0x00000200
#define AUDIO_FU_CONTROL_BAND_EQ_2500Hz   0x00100000
#define AUDIO_FU_CONTROL_BAND_EQ_250Hz   0x00000400
#define AUDIO_FU_CONTROL_BAND_EQ_25Hz   0x00000001
#define AUDIO_FU_CONTROL_BAND_EQ_3150Hz   0x00200000
#define AUDIO_FU_CONTROL_BAND_EQ_315Hz   0x00000800
#define AUDIO_FU_CONTROL_BAND_EQ_31_5Hz   0x00000002
#define AUDIO_FU_CONTROL_BAND_EQ_4000Hz   0x00400000
#define AUDIO_FU_CONTROL_BAND_EQ_400Hz   0x00001000
#define AUDIO_FU_CONTROL_BAND_EQ_40Hz   0x00000004
#define AUDIO_FU_CONTROL_BAND_EQ_5000Hz   0x00800000
#define AUDIO_FU_CONTROL_BAND_EQ_500Hz   0x00002000
#define AUDIO_FU_CONTROL_BAND_EQ_50Hz   0x00000008
#define AUDIO_FU_CONTROL_BAND_EQ_6300Hz   0x01000000
#define AUDIO_FU_CONTROL_BAND_EQ_630Hz   0x00004000
#define AUDIO_FU_CONTROL_BAND_EQ_63Hz   0x00000010
#define AUDIO_FU_CONTROL_BAND_EQ_8000Hz   0x02000000
#define AUDIO_FU_CONTROL_BAND_EQ_800Hz   0x00008000
#define AUDIO_FU_CONTROL_BAND_EQ_80Hz   0x00000020
#define AUDIO_FU_CONTROL_CN_ALL   0xFF
#define AUDIO_FU_CONTROL_CS_AUTOMATIC_GAIN   0x07
#define AUDIO_FU_CONTROL_CS_BASS   0x03
#define AUDIO_FU_CONTROL_CS_BASS_BOOST   0x09
#define AUDIO_FU_CONTROL_CS_DELAY   0x08
#define AUDIO_FU_CONTROL_CS_GRAPHIC_EQUALIZER   0x06
#define AUDIO_FU_CONTROL_CS_LOUDNESS   0x0A
#define AUDIO_FU_CONTROL_CS_MID   0x04
#define AUDIO_FU_CONTROL_CS_MUTE   0x01

Referenced by usb_user_read_request().

#define AUDIO_FU_CONTROL_CS_TREBLE   0x05
#define AUDIO_FU_CONTROL_CS_UNDEFINED   0x00
#define AUDIO_FU_CONTROL_CS_VOLUME   0x02

Referenced by usb_user_read_request().

#define AUDIO_FU_CONTROL_DELAY_0MS   0x0000
#define AUDIO_FU_CONTROL_DELAY_1MS   0x0040
#define AUDIO_FU_CONTROL_DELAY_MAX   0xFFFF
#define AUDIO_MIXER_CONTROL_IOCN_ALL   0x0000
#define AUDIO_MIXER_CONTROL_IOCN_ALL_PROGRAM   0xFFFF
#define AUDIO_PROCESSING_UNIT_3D_STEREO_EXTENDER   0x03
#define AUDIO_PROCESSING_UNIT_CHORUS   0x05
#define AUDIO_PROCESSING_UNIT_DOLBY_PROLOGIC   0x02
#define AUDIO_PROCESSING_UNIT_DYN_RANGE_COMP   0x06
#define AUDIO_PROCESSING_UNIT_REVERBERATION   0x04
#define AUDIO_PROCESSING_UNIT_UNDEFINED   0x00
#define AUDIO_PROCESSING_UNIT_UPDOWNMIX   0x01
#define AUDIO_PU_CONTROL_CS_3D_ENABLE   0x01
#define AUDIO_PU_CONTROL_CS_3D_SPACIOUSNESS   0x03
#define AUDIO_PU_CONTROL_CS_3D_UNDEFINED   0x00
#define AUDIO_PU_CONTROL_CS_CH_DEPTH   0x04
#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_UNDEFINED   0x00
#define AUDIO_PU_CONTROL_CS_DP_ENABLE   0x01
#define AUDIO_PU_CONTROL_CS_DP_MODE_SELECT   0x02
#define AUDIO_PU_CONTROL_CS_DP_UNDEFINED   0x00
#define AUDIO_PU_CONTROL_CS_DR_ATTACK_TIME   0x05
#define AUDIO_PU_CONTROL_CS_DR_COMPRESSION_RATE   0x02
#define AUDIO_PU_CONTROL_CS_DR_ENABLE   0x01
#define AUDIO_PU_CONTROL_CS_DR_MAXAMPL   0x03
#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME   0x06
#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_0MS   0x0000
#define AUDIO_PU_CONTROL_CS_DR_RELEASE_TIME_DELAY_MAX   0xFFFF
#define AUDIO_PU_CONTROL_CS_DR_THRESHOLD   0x04
#define AUDIO_PU_CONTROL_CS_DR_UNDEFINED   0x00
#define AUDIO_PU_CONTROL_CS_RV_ENABLE   0x01
#define AUDIO_PU_CONTROL_CS_RV_FEEDBACK   0x04
#define AUDIO_PU_CONTROL_CS_RV_LEVEL   0x02
#define AUDIO_PU_CONTROL_CS_RV_TIME   0x03
#define AUDIO_PU_CONTROL_CS_RV_TYPE_DELAY   6
#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_PANNING_DELAY   7
#define AUDIO_PU_CONTROL_CS_RV_TYPE_PLATE   5
#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_UNDEFINED   0x00
#define AUDIO_PU_CONTROL_CS_UD_ENABLE   0x01
#define AUDIO_PU_CONTROL_CS_UD_MODE_SELECT   0x02
#define AUDIO_PU_CONTROL_CS_UD_UNDEFINED   0x00
#define AUDIO_TE_CONTROL_CS_COPY_PROTECT   0x01
#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
#define AUDIO_TE_CONTROL_CS_UNDEFINED   0x00
#define AUDIO_TE_TYPE_BI_ECHO_CANCELING_SPEAKERPHONE   0x0405
#define AUDIO_TE_TYPE_BI_ECHO_SUPPRESSING_SPEAKERPHONE   0x0404
#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_UNDEFINED   0x0400
#define AUDIO_TE_TYPE_EMBEDDED_ANALOG_TAPE   0x0707
#define AUDIO_TE_TYPE_EMBEDDED_CABLE_TUNER_AUDIO   0x070E
#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_DSS_AUDIO   0x070F
#define AUDIO_TE_TYPE_EMBEDDED_DVD_AUDIO   0x070B
#define AUDIO_TE_TYPE_EMBEDDED_EQUALIZATION   NOISE 0x0702
#define AUDIO_TE_TYPE_EMBEDDED_LEVEL_CALIBRATION_NOISE_SRC   0x0701
#define AUDIO_TE_TYPE_EMBEDDED_MINIDISK   0x0706
#define AUDIO_TE_TYPE_EMBEDDED_MULTI_TRACK_RECORDER   0x0712
#define AUDIO_TE_TYPE_EMBEDDED_PHONOGRAPH   0x0708
#define AUDIO_TE_TYPE_EMBEDDED_RADIO_RECEIVER   0x0710
#define AUDIO_TE_TYPE_EMBEDDED_RADIO_TRANSMITTER   0x0711
#define AUDIO_TE_TYPE_EMBEDDED_SATELLITE_RECEIVER_AUDIO   0x070D
#define AUDIO_TE_TYPE_EMBEDDED_SYNTHESIZER   0x0713
#define AUDIO_TE_TYPE_EMBEDDED_TV_TUNER_AUDIO   0x070C
#define AUDIO_TE_TYPE_EMBEDDED_UNDEFINED   0x0700
#define AUDIO_TE_TYPE_EMBEDDED_VCR_AUDIO   0x0709
#define AUDIO_TE_TYPE_EMBEDDED_VIDEO_DISC_AUDIO   0x070A
#define AUDIO_TE_TYPE_EXTERNAL_1394_DA_STREAM   0x0606
#define AUDIO_TE_TYPE_EXTERNAL_1394_DV_STREAM_SOUNDTRACK   0x0607
#define AUDIO_TE_TYPE_EXTERNAL_ANALOG_CONNECTOR   0x0601
#define AUDIO_TE_TYPE_EXTERNAL_DIGITAL_AUDIO_INTERFACE   0x0602
#define AUDIO_TE_TYPE_EXTERNAL_LEGACY_AUDIO_CONNECTOR   0x0604
#define AUDIO_TE_TYPE_EXTERNAL_LINE_CONNECTOR   0x0603
#define AUDIO_TE_TYPE_EXTERNAL_S_PDIF_INTERFACE   0x0605
#define AUDIO_TE_TYPE_EXTERNAL_UNDEFINED   0x0600
#define AUDIO_TE_TYPE_INPUT_DESKTOP_MICROPHONE   0x0202
#define AUDIO_TE_TYPE_INPUT_MICROPHONE   0x0201
#define AUDIO_TE_TYPE_INPUT_MICROPHONE_ARRAY   0x0205
#define AUDIO_TE_TYPE_INPUT_OMNI_DIRECTIONAL_MICROPHONE   0x0204
#define AUDIO_TE_TYPE_INPUT_PERSONAL_MICROPHONE   0x0203
#define AUDIO_TE_TYPE_INPUT_PROCESSING_MICROPHONE_ARRAY   0x0206
#define AUDIO_TE_TYPE_INPUT_UNDEFINED   0x0200
#define AUDIO_TE_TYPE_OUTPUT_COMMUNICATION_SPEAKER   0x0306
#define AUDIO_TE_TYPE_OUTPUT_DESKTOP_SPEAKER   0x0304
#define AUDIO_TE_TYPE_OUTPUT_HEAD_MOUNTED   DISPLAY AUDIO 0x0303
#define AUDIO_TE_TYPE_OUTPUT_HEADPHONES   0x0302
#define AUDIO_TE_TYPE_OUTPUT_LOW_FREQUENCY_EFFECTS_SPEAKER   0x0307
#define AUDIO_TE_TYPE_OUTPUT_ROOM_SPEAKER   0x0305
#define AUDIO_TE_TYPE_OUTPUT_SPEAKER   0x0301
#define AUDIO_TE_TYPE_OUTPUT_UNDEFINED   0x0300
#define AUDIO_TE_TYPE_TELEPHONY_DOWN_LINE_PHONE   0x0503
#define AUDIO_TE_TYPE_TELEPHONY_PHONE_LINE   0x0501
#define AUDIO_TE_TYPE_TELEPHONY_TELEPHONE   0x0502
#define AUDIO_TE_TYPE_TELEPHONY_UNDEFINED   0x0500
#define AUDIO_TE_TYPE_USB_STREAMING   0x0101
#define AUDIO_TE_TYPE_USB_UNDEFINE   0x0100
#define AUDIO_TE_TYPE_USB_VENDOR_SPECIFIC   0x01FF
#define AUDIO_XU_CONTROL_CS_ENABLE   0x01
#define AUDIO_XU_CONTROL_CS_UNDEFINED   0x00
#define BR_REQUEST_GET_CUR   0x81
#define BR_REQUEST_GET_MAX   0x83

Referenced by host_audio_get_max().

#define BR_REQUEST_GET_MIN   0x82
#define BR_REQUEST_GET_RES   0x84
#define BR_REQUEST_SET_CUR   0x01
#define BR_REQUEST_SET_MAX   0x03
#define BR_REQUEST_SET_MIN   0x02
#define BR_REQUEST_SET_RES   0x04
#define CS_ENDPOINT   0x25
#define CS_INTERFACE   0x24

Referenced by host_user_check_class().

#define CS_MUTE   0x0100

Audio volume ctrl configuration.

Referenced by host_audio_set_cur_mute().

#define CS_VOLUME   0x0200
#define DESCRIPTOR_AUDIO_CONFIGURATION   0x22
#define DESCRIPTOR_AUDIO_DEVICE   0x21
#define DESCRIPTOR_AUDIO_ENDPOINT   0x25
#define DESCRIPTOR_AUDIO_INTERFACE   0x24
#define DESCRIPTOR_AUDIO_STRING   0x23
#define DESCRIPTOR_AUDIO_UNDEFINED   0x20
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_EXTENSION_UNIT   0x08
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_FEATURE_UNIT   0x06
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_HEADER   0x01
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_INPUT_TERMINAL   0x02
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_MIXER_UNIT   0x04
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_OUTPUT_TERMINAL   0x03
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_PROCESSING_UNIT   0x07
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_SELECTOR_UNIT   0x05
#define DESCRIPTOR_SUBTYPE_AUDIO_AC_UNDEFINED   0x00
#define DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_SPECIFIC   0x03
#define DESCRIPTOR_SUBTYPE_AUDIO_AS_FORMAT_TYPE   0x02
#define DESCRIPTOR_SUBTYPE_AUDIO_AS_GENERAL   0x01
#define DESCRIPTOR_SUBTYPE_AUDIO_AS_UNDEFINED   0x00
#define DESCRIPTOR_SUBTYPE_AUDIO_ENDP_GENERAL   0x01
#define DESCRIPTOR_SUBTYPE_AUDIO_ENDP_UNDEFINED   0x00
#define ENDPOINT_TYPE_ADAPTIVE   0x02
#define ENDPOINT_TYPE_ASYNCHRONOUS   0x01
#define ENDPOINT_TYPE_NO_SYNC   0x00
#define ENDPOINT_TYPE_OFFSET   2
#define ENDPOINT_TYPE_SYNCHRONOUS   0x03
#define FEATURE_UNIT_SUB_TYPE   0x06

Referenced by host_user_check_class().

#define FEATURE_UNIT_SUB_TYPE   0x06
#define FORMAT_SUB_TYPE   0x02

Referenced by host_user_check_class().

#define GENERAL_SUB_TYPE   0x01
#define HEADER_SUB_TYPE   0x01

Referenced by host_user_check_class().

#define INPUT_TERMINAL_SUB_TYPE   0x02
#define MIXER_UNIT_SUB_TYPE   0x04
#define OUTPUT_TERMINAL_SUB_TYPE   0x03
#define SETUP_AUDIO_GET_CUR   0x81

Referenced by usb_user_read_request().

#define SETUP_AUDIO_GET_MAX   0x83

Referenced by usb_user_read_request().

#define SETUP_AUDIO_GET_MEM   0x85

Referenced by usb_user_read_request().

#define SETUP_AUDIO_GET_MIN   0x82

Referenced by usb_user_read_request().

#define SETUP_AUDIO_GET_RES   0x84

Referenced by usb_user_read_request().

#define SETUP_AUDIO_GET_STAT   0xFF

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SAMPLING_FREQ_CONTROL   0x01

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SET_CUR   0x01

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SET_MAX   0x03

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SET_MEM   0x05

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SET_MIN   0x02

Referenced by usb_user_read_request().

#define SETUP_AUDIO_SET_RES   0x04

Referenced by usb_user_read_request().