Beispiel #1
0
void WrappedInputClass_anything(TTPtr self, SymbolPtr msg, AtomCount argc, AtomPtr argv)
{
	WrappedModularInstancePtr	x = (WrappedModularInstancePtr)self;
	TTInputPtr	anInput = (TTInputPtr)x->wrappedObject;
	
	if (!anInput->mMute)
		jamoma_input_send(anInput, msg, argc, argv);
}
Beispiel #2
0
void in_list(TTPtr self, t_symbol *msg, long argc, t_atom *argv)
{
	WrappedModularInstancePtr	x = (WrappedModularInstancePtr)self;
	TTInputPtr	anInput = (TTInputPtr)x->wrappedObject;
	
	if (!anInput->mMute)
		jamoma_input_send(anInput, msg, argc, argv);
}
Beispiel #3
0
void WrappedInputClass_anything(TTPtr self, t_symbol *msg, long argc, t_atom *argv)
{
	WrappedModularInstancePtr	x = (WrappedModularInstancePtr)self;

    // route any message to the model
//    if (msg != _sym_nothing && msg != _sym_jit_matrix && msg != _sym_jit_gl_texture && msg != _sym_dictionary) {
    if (msg != _sym_nothing ) {
        
        // get model or view object
        if (!EXTRA->modelOrView)
            jamoma_patcher_get_model_or_view(x->patcherPtr, &EXTRA->modelOrView);
        
        zgetfn((t_pd*)x,msg)((t_object*)EXTRA->modelOrView, argc, argv, NULL);
//        object_method_typed(EXTRA->modelOrView, msg, argc, argv, NULL);
        return;
    }
	
    jamoma_input_send(x->wrappedObject, msg, argc, argv);
}
Beispiel #4
0
void in_list(TTPtr self, t_symbol *msg, long argc, t_atom *argv)
{
	WrappedModularInstancePtr	x = (WrappedModularInstancePtr)self;

    jamoma_input_send(x->wrappedObject, msg, argc, argv);
}