MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ make_bytes()

InputValue MayaFlux::Core::InputValue::make_bytes ( std::vector< uint8_t >  v,
uint32_t  dev_id,
InputType  src 
)
static

Definition at line 165 of file InputBinding.cpp.

166{
167 return {
168 .type = Type::BYTES,
169 .data = std::move(v),
170 .timestamp_ns = static_cast<uint64_t>(
171 std::chrono::steady_clock::now().time_since_epoch().count()),
172 .device_id = dev_id,
173 .source_type = src
174 };
175}
uint32_t device_id
Source device identifier.
@ BYTES
Raw byte data (HID reports, sysex)
InputType source_type
Backend that generated this value.

References BYTES, device_id, source_type, and type.

Referenced by MayaFlux::Core::MIDIBackend::parse_midi_message().

+ Here is the caller graph for this function: