Skip to content

Commit 4da76c4

Browse files
committed
Address review comments
* DescriptorLength is unused and therefore removed * InputTerminalDescriptor has OverloadControl and no ClockFrequencyControl according to Table 4-9 of [Audio20]
1 parent 0b925fd commit 4da76c4

File tree

1 file changed

+2
-2
lines changed
  • usb_protocol/types/descriptors

1 file changed

+2
-2
lines changed

usb_protocol/types/descriptors/uac2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from .standard import StandardDescriptorNumbers
2121
from ..descriptor import \
22-
DescriptorField, DescriptorNumber, DescriptorFormat, DescriptorLength
22+
DescriptorField, DescriptorNumber, DescriptorFormat
2323

2424

2525
class AudioInterfaceClassCode(IntEnum):
@@ -634,7 +634,7 @@ class SidebandProtocols(IntEnum):
634634
"bNrChannels" / DescriptorField(description="number of logical output channels in the terminal’s output channel cluster"),
635635
"bmChannelConfig" / DescriptorField(description="describes the spatial location of the logical channels", default=0, length=4),
636636
"iChannelNames" / DescriptorField(description="string descriptor index of the first logical channel name", default=0),
637-
"bmControls" / DescriptorField(description="OR combination of ClockFrequencyControl, CopyProtectControl, ConnectorControl, ClusterControl, UnderflowControl and OverflowControl", default=0, length=2),
637+
"bmControls" / DescriptorField(description="OR combination of CopyProtectControl, ConnectorControl, OverloadControl, ClusterControl, UnderflowControl and OverflowControl", default=0, length=2),
638638
"iTerminal" / DescriptorField(description="ID of the input terminal string descriptor", default=0)
639639
)
640640

0 commit comments

Comments
 (0)