usb_protocol.types.descriptors.uac1 module
Descriptors for USB Audio Class Devices (UAC), Release 1
[Audio10] refers to “Universal Serial Bus Device Class Definition for Audio Devices”, Release 1.0, March 18, 1998 [Frmts10] refers to “Universal Serial Bus Device Class Definition for Audio Data Formats”, Release 1.0, March 18, 1998 [TermT10] refers to “Universal Serial Bus Device Class Definition for Terminal Types”, Release 1.0, March 18, 1998
- class usb_protocol.types.descriptors.uac1.AudioClassSpecificACInterfaceDescriptorSubtypes(value)[source]
Bases:
IntEnum
An enumeration.
- AC_DESCRIPTOR_UNDEFINED = 0
- EXTENSION_UNIT = 8
- FEATURE_UNIT = 6
- HEADER = 1
- INPUT_TERMINAL = 2
- MIXER_UNIT = 4
- OUTPUT_TERMINAL = 3
- PROCESSING_UNIT = 7
- SELECTOR_UNIT = 5
- class usb_protocol.types.descriptors.uac1.AudioClassSpecificASInterfaceDescriptorSubtypes(value)[source]
Bases:
IntEnum
An enumeration.
- AS_DESCRIPTOR_UNDEFINED = 0
- AS_GENERAL = 1
- FORMAT_SPECIFIC = 3
- FORMAT_TYPE = 2
- class usb_protocol.types.descriptors.uac1.AudioClassSpecificDescriptorTypes(value)[source]
Bases:
IntEnum
An enumeration.
- CS_CONFIGURATION = 34
- CS_DEVICE = 33
- CS_ENDPOINT = 37
- CS_INTERFACE = 36
- CS_STRING = 35
- CS_UNDEFINED = 32
- class usb_protocol.types.descriptors.uac1.AudioClassSpecificEndpointDescriptorSubtypes(value)[source]
Bases:
IntEnum
An enumeration.
- DESCRIPTOR_UNDEFINED = 0
- EP_GENERAL = 1
- class usb_protocol.types.descriptors.uac1.AudioClassSpecificRequestCodes(value)[source]
Bases:
IntEnum
An enumeration.
- GET_CUR = 129
- GET_MAX = 131
- GET_MEM = 133
- GET_MIN = 130
- GET_RES = 132
- GET_STAT = 255
- REQUEST_CODE_UNDEFINED = 0
- SET_CUR = 1
- SET_MAX = 3
- SET_MEM = 5
- SET_MIN = 2
- SET_RES = 4
- class usb_protocol.types.descriptors.uac1.AudioInterfaceClassCode(value)[source]
Bases:
IntEnum
An enumeration.
- AUDIO = 1
- class usb_protocol.types.descriptors.uac1.AudioInterfaceProtocolCodes(value)[source]
Bases:
IntEnum
An enumeration.
- PR_PROTOCOL_UNDEFINED = 0
- class usb_protocol.types.descriptors.uac1.AudioInterfaceSubclassCodes(value)[source]
Bases:
IntEnum
An enumeration.
- AUDIO_CONTROL = 1
- AUDIO_STREAMING = 2
- INTERFACE_SUBCLASS_UNDEFINED = 0
- MIDI_STREAMING = 3
- class usb_protocol.types.descriptors.uac1.BidirectionalTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- BIDIRECTIONAL_UNDEFINED = 1024
- ECHO_CANCELING_SPEAKERPHONE = 1029
- ECHO_SUPPRESSING_SPEAKERPHONE = 1028
- HANDSET = 1025
- HEADSET = 1026
- class usb_protocol.types.descriptors.uac1.ChorusProcessingUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- CHORUS_DEPTH_CONTROL = 4
- CHORUS_LEVEL_CONTROL = 2
- CHORUS_RATE_CONTROL = 3
- CH_CONTROL_UNDEFINED = 0
- CH_ENABLE_CONTROL = 1
- class usb_protocol.types.descriptors.uac1.DolbyProLogicProcessingUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- DP_CONTROL_UNDEFINED = 0
- DP_ENABLE_CONTROL = 1
- DP_MODE_SELECT_CONTROL = 2
- class usb_protocol.types.descriptors.uac1.DynamicRangeCompressorProcessingUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- ATTACK_TIME = 5
- COMPRESSION_RATE_CONTROL = 2
- DR_CONTROL_UNDEFINED = 0
- DR_ENABLE_CONTROL = 1
- MAXAMPL_CONTROL = 3
- RELEASE_TIME = 6
- THRESHOLD_CONTROL = 4
- class usb_protocol.types.descriptors.uac1.EmbeddedFunctionTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- ANALOG_TAPE = 1799
- CABLE_TUNER_AUDIO = 1806
- CD_PLAYER = 1795
- DAT = 1796
- DCC = 1797
- DSS_AUDIO = 1807
- DVD_AUDIO = 1803
- EMBEDDED_UNDEFINED = 1792
- EQUALIZATION_NOISE = 1794
- MULTI_TRACK_RECORDER = 1810
- PHONOGRAPH = 1800
- RADIO_RECEIVER = 1808
- RADIO_TRANSMITTER = 1809
- SATELLITE_RECEIVER_AUDIO = 1805
- SYNTHESIZER = 1811
- TV_TUNER_AUDIO = 1804
- VCR_AUDIO = 1801
- VIDEO_DISC_AUDIO = 1802
- class usb_protocol.types.descriptors.uac1.EndpointsControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- EP_CONTROL_UNDEFINED = 0
- PITCH_CONTROL = 2
- SAMPLING_FREQ_CONTROL = 1
- class usb_protocol.types.descriptors.uac1.ExtensionUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- XU_CONTROL_UNDEFINED = 0
- XU_ENABLE_CONTROL = 1
- class usb_protocol.types.descriptors.uac1.ExternalTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- ANALOG_CONNECTOR = 1537
- DIGITAL_AUDIO_INTERFACE = 1538
- EXTERNAL_UNDEFINED = 1536
- IEEE_1394_DA_STREAM = 1542
- IEEE_1394_DV_STREAM_SOUNDTRACK = 1543
- LINE_CONNECTOR = 1539
- SPDIF_INTERFACE = 1541
- class usb_protocol.types.descriptors.uac1.FeatureUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- AUTOMATIC_GAIN_CONTROL = 7
- BASS_BOOST_CONTROL = 9
- BASS_CONTROL = 3
- DELAY_CONTROL = 8
- FU_CONTROL_UNDEFINED = 0
- GRAPHIC_EQUALIZER_CONTROL = 6
- LOUDNESS_CONTROL = 10
- MID_CONTROL = 4
- MUTE_CONTROL = 1
- TREBLE_CONTROL = 5
- VOLUME_CONTROL = 2
- class usb_protocol.types.descriptors.uac1.InputTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- DESKTOP_MICROPHONE = 514
- INPUT_UNDEFINED = 512
- MICROPHONE = 513
- MICROPHONE_ARRAY = 517
- OMNI_DIRECTIONAL_MICROPHONE = 516
- PERSONAL_MICROPHONE = 515
- PROCESSING_MICROPHONE_ARRAY = 518
- class usb_protocol.types.descriptors.uac1.OutputTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- COMMUNICATION_SPEAKER = 774
- DESKTOP_SPEAKER = 772
- HEADPHONES = 770
- LOW_FREQUENCY_EFFECTS_SPEAKER = 775
- OUTPUT_UNDEFINED = 768
- ROOM_SPEAKER = 773
- SPEAKER = 769
- class usb_protocol.types.descriptors.uac1.ProcessingUnitProcessTypes(value)[source]
Bases:
IntEnum
An enumeration.
- CHORUS_PROCESS = 5
- DOLBY_PROLOGIC_PROCESS = 2
- DYN_RANGE_COMP_PROCESS = 6
- PROCESS_UNDEFINED = 0
- REVERBERATION_PROCESS = 4
- UP_DOWNMIX_PROCESS = 1
- class usb_protocol.types.descriptors.uac1.ReverberationProcessingUnitControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- REVERB_FEEDBACK_CONTROL = 4
- REVERB_LEVEL_CONTROL = 2
- REVERB_TIME_CONTROL = 3
- RV_CONTROL_UNDEFINED = 0
- RV_ENABLE_CONTROL = 1
- class usb_protocol.types.descriptors.uac1.TelephonyTerminalTypes(value)[source]
Bases:
IntEnum
An enumeration.
- DOWN_LINE_PHONE = 1283
- PHONE_LINE = 1281
- TELEPHONE = 1282
- TELEPHONY_UNDEFINED = 1280
- class usb_protocol.types.descriptors.uac1.TerminalControlSelectors(value)[source]
Bases:
IntEnum
An enumeration.
- COPY_PROTECT_CONTROL = 1
- TE_CONTROL_UNDEFINED = 0