The UAC2 Effect Unit Descriptor has a slightly different definition from other similar ones like Processing Unit or Extension Unit. Define it here so that it can be used in USB-audio driver in a later patch.
Unified · Split
| @@ -156,6 +156,18 @@ struct uac2_feature_unit_descriptor { · 155 unmodified lines | ||
| 156 | 156 | __u8 bmaControls[0]; /* variable length */ |
| 157 | 157 | } __attribute__((packed)); |
| 158 | 158 | |
| 159 | +/* 4.7.2.10 Effect Unit Descriptor */ | |
| 160 | + | |
| 161 | +struct uac2_effect_unit_descriptor { | |
| 162 | + __u8 bLength; | |
| 163 | + __u8 bDescriptorType; | |
| 164 | + __u8 bDescriptorSubtype; | |
| 165 | + __u8 bUnitID; | |
| 166 | + __le16 wEffectType; | |
| 167 | + __u8 bSourceID; | |
| 168 | + __u8 bmaControls[]; /* variable length */ | |
| 169 | +} __attribute__((packed)); | |
| 170 | + | |
| 159 | 171 | /* 4.9.2 Class-Specific AS Interface Descriptor */ |
| 160 | 172 | |
| 161 | 173 | struct uac2_as_header_descriptor { |