示例#1
0
void space_free(t_space *x)
{
	jbox_free((t_jbox *)x);

	delete x->f_viewer;
    delete x->f_recomposer;
}
示例#2
0
void meter_free(t_meter *x)
{	
	dsp_freejbox((t_pxjbox *)x);
	jgraphics_surface_destroy(x->gradientSurface);
	object_free((t_object *)x->clock);
	jbox_free((t_jbox *)x);
}
示例#3
0
void hoa_space_free(t_hoa_space *x)
{
    jbox_free((t_jbox *)x);
    delete x->f_viewer;
    delete x->f_recomposer;
    clock_free(x->f_defer);
}
示例#4
0
void rd_free(t_rd *x){
	jbox_free(&(x->ob));
	critical_free(x->lock);
	if(x->buffer){
		free(x->buffer);
	}
}
示例#5
0
void odisplay_free(t_odisplay *x)
{
    qelem_free(x->qelem);
    object_free(x->new_data_indicator_clock);
    odisplay_clearBundles(x);
	critical_free(x->lock);
    jbox_free((t_jbox *)x);
}
void meter_free(t_meter *x)
{
	dsp_freejbox((t_pxjbox *)x);
	freeobject((t_object *)x->f_clock);
	jbox_free((t_jbox *)x);
    delete x->f_meter;
	delete x->f_vector;
    delete [] x->f_signals;
}
void hoa_3d_scope_free(t_hoa_3d_scope *x)
{
	dsp_freejbox((t_pxjbox *)x);
	clock_free(x->f_clock);
	jbox_free((t_jbox *)x);
    
    delete x->f_scope;
    delete [] x->f_signals;
}
示例#8
0
void hoa_scope_free(t_hoa_scope *x)
{
	dsp_freejbox((t_pxjbox *)x);
	freeobject((t_object *)x->f_clock);
	jbox_free((t_jbox *)x);
    
    delete x->f_scope;
    delete [] x->f_signals;
}
示例#9
0
void scope_free(t_scope *x)
{
	dsp_freejbox((t_pxjbox *)x);
	freeobject((t_object *)x->f_clock);
	jbox_free((t_jbox *)x);
    
    free(x->f_harmonicsValues);
    free(x->f_averageHarmo);
    delete x->f_viewer;
}
示例#10
0
文件: cc.c 项目: CNMAT/CNMAT-Externs
void cc_free(t_cc *x){
#if defined(CC_MSP) && defined(CC_JBOX)
	dsp_freejbox((t_pxjbox *)x);
	jbox_free((t_jbox *)x);
	free(x->svin);
	free(x->svout);
#elif defined(CC_MSP)
	dsp_free((t_pxobject *)x);
	free(x->svin);
	free(x->svout);
#elif defined(CC_JBOX)
	jbox_free((t_jbox *)x);
#endif
	void (*f)(t_object *, char *);
	hashtab_lookup(x->ht, gensym("my_free"), (t_object **)&f);
	if(f){
		f((t_object *)x, x->user_obj);
	}

	/*
	if(x->build_path_is_tmp){
		char buf[MAX_PATH_CHARS + 20];
		sprintf(buf, "rm -f %s/%s.{o,dylib,st,log}", x->build_path, x->basename);
		system(buf);
	}
	*/

	free(x->code_buf);
	free(x->function_names);
	if(x->handle){
		dlclose(x->handle);
	}
	free(x->def_cflags);
	free(x->def_ldflags);
	free(x->user_obj);
	int i;
	for(i = 0; i < x->ninlets - 1; i++){
		object_free(x->proxies[i]);
	}
	free(x->proxies);
	free(x->outlets);
}
示例#11
0
void meter_free(t_meter *x)
{
	dsp_freejbox((t_pxjbox *)x);
	freeobject((t_object *)x->f_clock);
	jbox_free((t_jbox *)x);
    delete x->f_meter;
    delete [] x->f_angles_of_channels;
    delete [] x->f_peaks;
    delete [] x->f_signals;
    delete [] x->f_overled;
}
示例#12
0
void paramui_free(t_paramui *x)
{
	jbox_free(&x->box);

	qelem_free(x->menu_qelem);
	x->menu_qelem = NULL;
	object_free(x->menu_items);
	object_detach_byptr(x, x->obj_parameter);
	if(x->layout_value)
		jtextlayout_destroy(x->layout_value);
	if(x->layout_unit)
		jtextlayout_destroy(x->layout_unit);
	object_free(x->obj_parameter);
}
示例#13
0
void pictmeter_free(t_pictmeter *x)
{
	dsp_freejbox((t_pxjbox *)x);
	freeobject((t_object *)x->p_clock);
	jbox_free((t_jbox *)x);
}
示例#14
0
文件: uisimp3.c 项目: CICM/max6-sdk
void uisimp_free(t_uisimp *x)
{
	jbox_free(&x->j_box);
}
void hoa_gain_free(t_hoa_gain *x)
{
    dsp_freejbox((t_pxjbox *)x);
    jbox_free((t_jbox *)x);
    delete x->f_amp;
}
示例#16
0
// Memory Deallocation
void dbviewer_free(t_dbviewer *x)
{
	db_view_remove(x->d_db, &x->d_view);
	db_close(&x->d_db);
	jbox_free(&x->d_box);
}
示例#17
0
void jucebox_free(t_jucebox* x)
{
    jbox_free((t_jbox *)x);
	x->j_component->removeFromDesktop();
    delete x->j_component;
}
示例#18
0
void uisimp_free(t_uisimp *x)
{
	jbox_free((t_jbox *)x);
}
示例#19
0
void scripto_ui_free(t_scripto_ui *x)
{
	jbox_free((t_jbox *)x);
}