Usb Audio Device Descriptor(7) Class-Specific Audio Streaming Interface Descriptor

Class-Specific Audio Streaming Interface Descriptor

struct usb_as_cs_interface_descriptor
{
    U8 bLength; /*Size of this descriptor in bytes: 7 */
    U8 bDescriptorType; /*CS_INTERFACE descriptor type.*/
    U8 bDescriptorSubtype; /*GENERAL_SUB_TYPE descriptor subtype.*/
    U8 bTerminalLink; /*The Terminal ID of the Terminal to which
                      the endpoint of this interface is
                      connected.*/
    U8 bDelay; /*Delay (d) introduced by the data path
               (see Section 3.4, “Inter Channel
               Synchronization”). Expressed in number
               of frames.*/
    U16 wFormatTag; /*The Audio Data Format that has to be
                    used to communicate with this interface.*/
};

bLength = 0x07;
bDescriptorType = 0x24; 说明是CS_INTERFACE;
bDescriptorSubtype = 0x01; 说明是
AS_GENERAL;
bTerminalLink: 此interface所连接的endpoint的terminalID,可以通过这个值找到Terminal;
bDelay:
wFormatTag: 数据格式
FORMAT_TYPE_UNDEFINED 0X00
FORMAT_TYPE_I 0X01
FORMAT_TYPE_II 0X02
FORMAT_TYPE_III 0X03
Format type I支持pcm, pcm8, IEE_FLOAT, ALAW, MULAW;
Format type II支持 mpeg, AC-3
Format type III 支持 IEC1937_AC-3,
IEC1937_MPEG-1_Layer1, IEC1937_MPEG-1_Layer2/3 / IEC1937_MPEG-2_NOEXT, IEC1937_MPEG-2_EXT, IEC1937_MPEG-2_Layer1_LS, IEC1937_MPEG-2_Layer2/3_LS

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值