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

Method process

include/avnd/binding/max/audio_processor.hpp:207–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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