23namespace juce::universal_midi_packets
44 bool operator!= (
const DeviceInfo&
other)
const {
return tie() !=
other.tie(); }
46 static constexpr auto marshallingVersion = std::nullopt;
48 template <
typename Archive,
typename This>
52 named (
"family", t.family),
53 named (
"modelNumber", t.modelNumber),
54 named (
"revision", t.revision));
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
constexpr auto named(std::string_view c, T &t)
Produces a Named instance that holds a mutable reference.
Holds MIDI device info that may be required by certain UMP messages and MIDI-CI messages.
std::array< std::byte, 2 > modelNumber
LSB first.
std::array< std::byte, 3 > manufacturer
LSB first.
std::array< std::byte, 2 > family
LSB first.