pub struct GroupTerminalBlock {
pub block_id: u8,
pub block_type: GroupTerminalBlockType,
pub first_group: u8,
pub num_groups: u8,
pub string_index: u8,
pub protocol: MidiProtocol,
pub max_input_bandwidth: u16,
pub max_output_bandwidth: u16,
}Expand description
A parsed or constructed Group Terminal Block descriptor entity.
Fields§
§block_id: u8Unique identifier for this Group Terminal Block (1-based, 1..=32).
block_type: GroupTerminalBlockTypeBlock type (Bidirectional, Input-only, or Output-only).
first_group: u8The first member Group Terminal associated with this block (0..=15).
num_groups: u8Number of Group Terminals spanned by this block (1..=16).
string_index: u8Index of string descriptor for this block, or 0 when absent.
protocol: MidiProtocolDefault MIDI protocol.
max_input_bandwidth: u16Maximum input bandwidth in units of 4 KB/s (USB MIDI 2.0 §5.4.2, Table 5-6).
0 means unknown or not fixed. 1 is the rounded classic MIDI rate of 31.25 kbit/s,
which Table B-22 writes as 32 kbit/s.
max_output_bandwidth: u16Maximum output bandwidth in units of 4 KB/s (USB MIDI 2.0 §5.4.2, Table 5-6).
0 means unknown or not fixed. 1 is the rounded classic MIDI rate of 31.25 kbit/s,
which Table B-22 writes as 32 kbit/s.