📄 stddesc.b16
字号:
0x01, //bSamFreqType: 1 frequency supported
0x00, 0x00, 0x00, //tSamFreq: 0 Hz
//Standard AS Endpoint Descriptor (0x09 byte)
0x09, //bLength: 0x09 byte
0x05, //bDescriptorType: ENDPOINT
0x86, //bEndpointAddress: IN endpoint 6
0x01, //bmAttributes: Isochronous
0x30, 0x00, //wMaxPacketSize: 48 byte
0x01, //bInterval: polling interval is 1 ms
0x00, //bRefresh: 0
0x00, //bSyncAddress: 0
//Class-specific AS Endpoint Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x25, //bDescriptorType: CS_ENDPOINT
0x01, //bDescriptorSubType: GENERAL subtype
0x00, //bmAttributes: no control is supported
0x00, //bLockDelayUnits: 0
0x00, 0x00, //wLockDelay: 0
//Standard AS Interface Descriptor, AlternateSetting 4 (0x09 byte)
0x09, //bLength: 0x09 byte
0x04, //bDescriptorType: INTERFACE
0x03, //bInterfaceNumber: interface 3
0x04, //bAlternateSetting: alternate setting 4
0x01, //bNumEndpoints: 1 endpoint
0x01, //bInterfaceClass: AUDIO
0x02, //bInterfaceSubClass: AUDIO_STREAMING
0x00, //bInterfaceProtocol: 0
0x00, //iInterface: index of string
//Class-specific AS General Interface Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x24, //bDescriptorType: CS_INTERFACE
0x01, //bDescriptorSubType: GENERAL subtype
0x04, //bTerminalLink: ID of output terminal is 4 (USB streaming)
0x01, //bDelay: interface delay is 1 frame
0x01, 0x00, //wFormatTag: PCM format
//Type I format Type Descriptor (0x0b byte)
0x0b, //bLength: 0x0b byte
0x24, //bDescriptorType: CS_INTERFACE
0x02, //bDescriptorSubType: FORMAT_TYPE subtype
0x01, //bFormatType: FORMAT_TYPE_I
0x01, //bNrChannels: 1 channel
0x02, //bSubFrameSize: 2 byte per audio subframe
0x10, //bBitResolution: 16 bits per sample
0x01, //bSamFreqType: 1 frequency supported
0x00, 0x00, 0x00, //tSamFreq: 0 Hz
//Standard AS Endpoint Descriptor (0x09 byte)
0x09, //bLength: 0x09 byte
0x05, //bDescriptorType: ENDPOINT
0x86, //bEndpointAddress: IN endpoint 6
0x01, //bmAttributes: Isochronous
0x40, 0x00, //wMaxPacketSize: 64 byte
0x01, //bInterval: polling interval is 1 ms
0x00, //bRefresh: 0
0x00, //bSyncAddress: 0
//Class-specific AS Endpoint Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x25, //bDescriptorType: CS_ENDPOINT
0x01, //bDescriptorSubType: GENERAL subtype
0x00, //bmAttributes: no control is supported
0x00, //bLockDelayUnits: 0
0x00, 0x00, //wLockDelay: 0
//Standard AS Interface Descriptor, AlternateSetting 5 (0x09 byte)
0x09, //bLength: 0x09 byte
0x04, //bDescriptorType: INTERFACE
0x03, //bInterfaceNumber: interface 3
0x05, //bAlternateSetting: alternate setting 5
0x01, //bNumEndpoints: 1 endpoint
0x01, //bInterfaceClass: AUDIO
0x02, //bInterfaceSubClass: AUDIO_STREAMING
0x00, //bInterfaceProtocol: 0
0x00, //iInterface: index of string
//Class-specific AS General Interface Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x24, //bDescriptorType: CS_INTERFACE
0x01, //bDescriptorSubType: GENERAL subtype
0x04, //bTerminalLink: ID of output terminal is 4 (USB streaming)
0x01, //bDelay: interface delay is 1 frame
0x01, 0x00, //wFormatTag: PCM format
//Type I format Type Descriptor (0x0b byte)
0x0b, //bLength: 0x0b byte
0x24, //bDescriptorType: CS_INTERFACE
0x02, //bDescriptorSubType: FORMAT_TYPE subtype
0x01, //bFormatType: FORMAT_TYPE_I
0x01, //bNrChannels: 1 channel
0x02, //bSubFrameSize: 2 byte per audio subframe
0x10, //bBitResolution: 16 bits per sample
0x01, //bSamFreqType: 1 frequency supported
0x00, 0x00, 0x00, //tSamFreq: 0 Hz
//Standard AS Endpoint Descriptor (0x09 byte)
0x09, //bLength: 0x09 byte
0x05, //bDescriptorType: ENDPOINT
0x86, //bEndpointAddress: IN endpoint 6
0x01, //bmAttributes: Isochronous
0x50, 0x00, //wMaxPacketSize: 80 byte
0x01, //bInterval: polling interval is 1 ms
0x00, //bRefresh: 0
0x00, //bSyncAddress: 0
//Class-specific AS Endpoint Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x25, //bDescriptorType: CS_ENDPOINT
0x01, //bDescriptorSubType: GENERAL subtype
0x00, //bmAttributes: no control is supported
0x00, //bLockDelayUnits: 0
0x00, 0x00, //wLockDelay: 0
//Standard AS Interface Descriptor, AlternateSetting 6 (0x09 byte)
0x09, //bLength: 0x09 byte
0x04, //bDescriptorType: INTERFACE
0x03, //bInterfaceNumber: interface 3
0x06, //bAlternateSetting: alternate setting 6
0x01, //bNumEndpoints: 1 endpoint
0x01, //bInterfaceClass: AUDIO
0x02, //bInterfaceSubClass: AUDIO_STREAMING
0x00, //bInterfaceProtocol: 0
0x00, //iInterface: index of string
//Class-specific AS General Interface Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x24, //bDescriptorType: CS_INTERFACE
0x01, //bDescriptorSubType: GENERAL subtype
0x04, //bTerminalLink: ID of output terminal is 4 (USB streaming)
0x01, //bDelay: interface delay is 1 frame
0x01, 0x00, //wFormatTag: PCM format
//Type I format Type Descriptor (0x0b byte)
0x0b, //bLength: 0x0b byte
0x24, //bDescriptorType: CS_INTERFACE
0x02, //bDescriptorSubType: FORMAT_TYPE subtype
0x01, //bFormatType: FORMAT_TYPE_I
0x01, //bNrChannels: 1 channel
0x02, //bSubFrameSize: 2 byte per audio subframe
0x10, //bBitResolution: 16 bits per sample
0x01, //bSamFreqType: 1 frequency supported
0x00, 0x00, 0x00, //tSamFreq: 0 Hz
//Standard AS Endpoint Descriptor (0x09 byte)
0x09, //bLength: 0x09 byte
0x05, //bDescriptorType: ENDPOINT
0x86, //bEndpointAddress: IN endpoint 6
0x01, //bmAttributes: Isochronous
0x60, 0x00, //wMaxPacketSize: 96 byte
0x01, //bInterval: polling interval is 1 ms
0x00, //bRefresh: 0
0x00, //bSyncAddress: 0
//Class-specific AS Endpoint Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x25, //bDescriptorType: CS_ENDPOINT
0x01, //bDescriptorSubType: GENERAL subtype
0x00, //bmAttributes: no control is supported
0x00, //bLockDelayUnits: 0
0x00, 0x00, //wLockDelay: 0
//Standard AS Interface Descriptor, AlternateSetting 7 (0x09 byte)
0x09, //bLength: 0x09 byte
0x04, //bDescriptorType: INTERFACE
0x03, //bInterfaceNumber: interface 3
0x07, //bAlternateSetting: alternate setting 7
0x01, //bNumEndpoints: 1 endpoint
0x01, //bInterfaceClass: AUDIO
0x02, //bInterfaceSubClass: AUDIO_STREAMING
0x00, //bInterfaceProtocol: 0
0x00, //iInterface: index of string
//Class-specific AS General Interface Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x24, //bDescriptorType: CS_INTERFACE
0x01, //bDescriptorSubType: GENERAL subtype
0x04, //bTerminalLink: ID of output terminal is 4 (USB streaming)
0x01, //bDelay: interface delay is 1 frame
0x01, 0x00, //wFormatTag: PCM format
//Type I format Type Descriptor (0x0b byte)
0x0b, //bLength: 0x0b byte
0x24, //bDescriptorType: CS_INTERFACE
0x02, //bDescriptorSubType: FORMAT_TYPE subtype
0x01, //bFormatType: FORMAT_TYPE_I
0x01, //bNrChannels: 1 channel
0x02, //bSubFrameSize: 2 byte per audio subframe
0x10, //bBitResolution: 16 bits per sample
0x01, //bSamFreqType: 1 frequency supported
0x80, 0xbb, 0x00, //tSamFreq: 48000 Hz
//Standard AS Endpoint Descriptor (0x09 byte)
0x09, //bLength: 0x09 byte
0x05, //bDescriptorType: ENDPOINT
0x86, //bEndpointAddress: IN endpoint 6
0x01, //bmAttributes: Isochronous
0x70, 0x00, //wMaxPacketSize: 112 byte
0x01, //bInterval: polling interval is 1 ms
0x00, //bRefresh: 0
0x00, //bSyncAddress: 0
//Class-specific AS Endpoint Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x25, //bDescriptorType: CS_ENDPOINT
0x01, //bDescriptorSubType: GENERAL subtype
0x00, //bmAttributes: no control is supported
0x00, //bLockDelayUnits: 0
0x00, 0x00, //wLockDelay: 0
#if 0
//Standard AS Interface Descriptor, AlternateSetting 8 (0x09 byte)
0x09, //bLength: 0x09 byte
0x04, //bDescriptorType: INTERFACE
0x03, //bInterfaceNumber: interface 3
0x08, //bAlternateSetting: alternate setting 8
0x01, //bNumEndpoints: 1 endpoint
0x01, //bInterfaceClass: AUDIO
0x02, //bInterfaceSubClass: AUDIO_STREAMING
0x00, //bInterfaceProtocol: 0
0x00, //iInterface: index of string
//Class-specific AS General Interface Descriptor (0x07 byte)
0x07, //bLength: 0x07 byte
0x24, //bDescriptorType: CS_INTERFACE
0x01, //bDescriptorSubType: GENERAL subtype
0x04, //bTerminalLink: ID of output terminal is 4 (USB streaming)
0x01, //bDelay: interface delay is 1 frame
0x01, 0x00, //wFormatTag: PCM format
//Type I format Type Descriptor (0x0b byte)
0x0b, //bLength: 0x0b byte
0x24, //bDescriptorType: CS_INTERFACE
0x02, //bDescriptorSubType: FORMAT_TYPE subtype
0x01, //bFormatType: FORMAT_TYPE_I
0x01, //bNrChannels: 1 channel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -