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

250{
251 return {
252 .type = Type::OSC,
253 .data = OSCMessage { .address = std::move(addr), .arguments = std::move(args) },
254 .timestamp_ns = static_cast<uint64_t>(
255 std::chrono::steady_clock::now().time_since_epoch().count()),
256 .device_id = dev_id,
258 };
259}
@ 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.

Referenced by MayaFlux::Core::OscParser::parse().

+ Here is the caller graph for this function: