Usb Audio Device Descriptor(2) Class-Specific Audio Control Interface Header Descriptor
来源:互联网 发布:床垫品牌 知乎 编辑:程序博客网 时间:2024/05/17 10:38
Class-Specific Audio Control Interface Header Descriptor
struct usb_ac_cs_interface_descriptor{ U8 bLength; /*Size of this descriptor, in bytes: 8+n*/ U8 bDescriptorType; /*CS_INTERFACE descriptor type*/ U8 bDescriptorSubtype; /*HEADER descriptor subtype.*/ U16 bcdADC; /*Audio Device Class Specification Release Number in Binary-Coded Decimal.*/ U16 wTotalLength; /*Total number of bytes returned for the class-specific AudioControl interface descriptor. Includes the combined length of this descriptor header and all Unit and Terminal descriptors.*/ U8 bInCollection; /*The number of AudioStreaming and MIDIStreaming interfaces in the Audio Interface Collection to which this AudioControl interface belongs: n*/ U8 *baInterfaceNr; /*Interface number of the first AudioStreaming or MIDIStreaming interface in the Collection.*/};
bLength = 8+n;
bDescriptor = 0x24; 说明这是一个class-specific audio device interface, 注意,不一定是Audio Control interface, 也可能是Audio Streaming interface; 如果是 Audio Streaming interface,则bLength=0x07;
bDescriptorSubtype = 0x01; 说明这是head descriptor;
bcdADC: BCD编码的class specification Release编号,即版本号,如果是0x100,就是1.00版,0x200,就是2.00版;
wTotalLength: 包含Header和所有Unit, Terminal的总和的length;
bInCollection:此Audio Control Interface所拥有的Audio Streaming和Audio MidiStreaming的interface集合数量;即bLength = 8+n 中的n
baInterfaceNr: Audio Streaming 和MidiStreaming在集合中的索引值;
0 0
- Usb Audio Device Descriptor(2) Class-Specific Audio Control Interface Header Descriptor
- Usb Audio Device Descriptor(7) Class-Specific Audio Streaming Interface Descriptor
- Usb Audio Device Descriptor(1) Standard Audio Control Interface Descriptor
- Usb Audio Device Descriptor(6) Standard AS Interface Descriptor
- Usb Audio Device Descriptor(10) Hid Device
- Usb Composite Device (audio+hid) Descriptor
- Usb Audio Device Descriptor(3) Input Terminal Descriptor
- Usb Audio Device Descriptor(4) Output Terminal Descriptor
- Usb Audio Device Descriptor(5) Feature Unit Descriptor
- Usb Audio Device Descriptor(8) Type I Format Type Descriptor
- Usb Audio Device Descriptor(9) Standard Audio Streaming Isochronous Audio Data Endpoint Descriptor
- usb 音频类描述符及其说明(usb audio descriptor)
- usb 音频类描述符及其说明(usb audio descriptor)
- USB组合设备 Interface Association Descriptor (IAD)
- USB Device Descriptor for AMP Controller
- USB Descriptor
- USB descriptor
- USB descriptor
- TCP选项之SO_LINGER
- CSS 的overflow:hidden 属性详细解释
- Android开发中一些疑难异常解决
- MCBrowserViewController
- webView与js交互
- Usb Audio Device Descriptor(2) Class-Specific Audio Control Interface Header Descriptor
- Apache优化:修改最大并发连接数
- Java基础之volatile,static,synchronized的区别
- 为data磁盘组删除其中一个盘(asm external data盘组中有两块盘)
- 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATI
- IAR error: a declaration cannot have a label
- javaEE之------SpringMVC中ResourceBundleViewResolver简单应用
- php读取超大日志文件
- poj 3304 Segments