Usb Audio Device Descriptor(4) Output Terminal Descriptor

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值