MayaFlux 0.4.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 225 of file InputBinding.cpp.

226{
227 return {
228 .type = Type::BYTES,
229 .data = std::move(v),
230 .timestamp_ns = static_cast<uint64_t>(
231 std::chrono::steady_clock::now().time_since_epoch().count()),
232 .device_id = dev_id,
233 .source_type = src
234 };
235}
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: