Output Terminal Descriptor
struct usb_output_terminal_descriptor{
U8 bLength; /*Size of this descriptor, in bytes: 9*/
U8 bDescriptorType; /*CS_INTERFACE descriptor type.*/
U8 bDescriptorSubtype; /*OUTPUT_TERMINAL descriptor subtype.*/
U8 bTerminalID; /*Constant uniquely identifying the
Terminal within the audio function. This
value is used in all requests to address
this Terminal.*/
U16 wTerminalType; /*Constant characterizing the type of
Terminal. See USB Audio Terminal
Types.*/
U8 bAssocTerminal; /*Constant, identifying the Input Terminal
to which this Output Terminal is
associated.*/
U8 bSourceID; /*ID of the Unit or Terminal to which this
Terminal is connected.*/
U8 iTerminal; /*Index of a string descriptor, describing
the Output Terminal.*/
};
bLength = 0x09;
bDescriptorType = 0x24; 说明这是CS_INTERFACE;
bDescriptorSubtype = 0x03; 说明这是 output terminal;
bTerminalID: terminal ID,值唯一;
wTerminalType: Terminal类型,Speaker(0x301), Headphones(0x302), Head Mounted Display Audio(0x303), Desktop speaker(0x304), Room speaker(0x305), Communication speaker(0x306), Low frequency effects speaker(0x307), USB streaming(0x101);
bAssocTerminal: 相关的input terminal ID,0代表此值未使用;
bSourceID: 与此Terminal相连接的Unit, Terminal 的 ID,需要在Input Terminal, Feature Unit…中查找;
iTerminal: string index