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

◆ make_osc()

InputValue MayaFlux::Core::InputValue::make_osc ( std::string  addr,
std::vector< OSCArg args,
uint32_t  dev_id 
)
static

Definition at line 189 of file InputBinding.cpp.

190{
191 return {
192 .type = Type::OSC,
193 .data = OSCMessage { .address = std::move(addr), .arguments = std::move(args) },
194 .timestamp_ns = static_cast<uint64_t>(
195 std::chrono::steady_clock::now().time_since_epoch().count()),
196 .device_id = dev_id,
198 };
199}
@ OSC
Open Sound Control (network)
uint32_t device_id
Source device identifier.
@ OSC
Structured OSC message.
InputType source_type
Backend that generated this value.

References MayaFlux::Core::InputValue::OSCMessage::address, device_id, MayaFlux::Core::OSC, OSC, source_type, and type.