MCPcopy Create free account
hub / github.com/celtera/avendish / process

Method process

include/avnd/binding/pd/audio_processor.hpp:213–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 void process(t_symbol* s, int argc, t_atom* argv)
214 {
215 // First try to process messages handled explicitely in the object
216 if(messages_setup.process_messages(implementation, s, argc, argv))
217 return;
218
219 // Then some default behaviour
220 switch(argc)
221 {
222 case 0: // bang
223 {
224 if(strcmp(s->s_name, s_bang.s_name) == 0)
225 {
226 // Unlike message_processor, here we don't run operator() which is
227 // being run in the dsp system.
228
229 // Just bang the outputs:
230 // output_setup.commit(implementation);
231 }
232 else
233 {
234 process_generic_message(implementation, s);
235 }
236 break;
237 }
238 default: {
239 // Apply the data to the inlets.
240 process_inlet_control(s, argc, argv);
241
242 // Then bang
243 // output_setup.commit(implementation);
244
245 break;
246 }
247 }
248 }
249};
250
251template <typename T>

Callers 3

initMethod · 0.45
performMethod · 0.45

Calls 2

process_generic_messageFunction · 0.70
process_messagesMethod · 0.45

Tested by

no test coverage detected