2 #include <Fx/Types.hpp>
4 #include <ossia/dataflow/port.hpp>
6 #include <halp/audio.hpp>
7 #include <halp/callback.hpp>
8 #include <halp/controls.hpp>
9 #include <halp/meta.hpp>
10 #include <halp/midi.hpp>
15 namespace EmptyValueMapping
19 halp_meta(name,
"Empty value mapper")
20 halp_meta(c_name,
"EmptyValueMapper")
21 halp_meta(category,
"Control/Mappings")
22 halp_meta(author,
"ossia score")
23 halp_meta(manual_url,
"")
24 halp_meta(description,
"Copies its inputs to its outputs")
25 halp_meta(uuid,
"70B12B42-BB4B-4A13-861B-53C577601186");
36 void operator()() { outputs.port.value->set_data(inputs.port.value->get_data()); }
40 namespace EmptyMidiMapping
44 halp_meta(name,
"Empty midi mapper")
45 halp_meta(c_name,
"EmptyMidiMapper")
46 halp_meta(category,
"Control/Mappings")
47 halp_meta(author,
"ossia score")
48 halp_meta(manual_url,
"")
49 halp_meta(description,
"Copies its inputs to its outputs")
50 halp_meta(uuid,
"2CE4F3F3-E04F-48CD-B81C-1F6537EC8CFA");
61 void operator()() { outputs.port.value->messages = inputs.port.value->messages; }
65 namespace EmptyAudioMapping
69 halp_meta(name,
"Empty audio mapper")
70 halp_meta(c_name,
"EmptyAudioMapper")
71 halp_meta(category,
"Control/Mappings")
72 halp_meta(author,
"ossia score")
73 halp_meta(manual_url,
"")
74 halp_meta(description,
"Copies its inputs to its outputs")
75 halp_meta(uuid,
"D074CC6C-D1CB-47F8-871D-CC949D8EEBEC");
86 void operator()() { *outputs.port.value = *inputs.port.value; }
Definition: EmptyMapping.hpp:68
Definition: EmptyMapping.hpp:43
Definition: EmptyMapping.hpp:18