本文整理汇总了C++中dsp_free函数的典型用法代码示例。如果您正苦于以下问题:C++ dsp_free函数的具体用法?C++ dsp_free怎么用?C++ dsp_free使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dsp_free函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: drag_dsp_free
void drag_dsp_free (t_drag *x)
{
dsp_free((t_pxobject *)x);
t_freebytes(x->hz, x->voice_count * sizeof(t_double *));
t_freebytes(x->out, x->voice_count * sizeof(t_double *));
t_freebytes(x->symm, x->voice_count * sizeof(t_double *));
t_freebytes(x->hzFloat, x->voice_count * sizeof(t_double ));
t_freebytes(x->hzActual, x->voice_count * sizeof(t_double ));
t_freebytes(x->grad, x->voice_count * sizeof(t_double ));
t_freebytes(x->ball_loc, x->voice_count * sizeof(t_double ));
t_freebytes(x->shape, x->voice_count * sizeof(t_double ));
t_freebytes(x->crash, x->voice_count * sizeof(t_double ));
t_freebytes(x->lastcrash, x->voice_count * sizeof(t_double ));
t_freebytes(x->direction, x->voice_count * sizeof(t_int ));
t_freebytes(x->hz_conn, x->voice_count * sizeof(t_int ));
t_freebytes(x->symm_conn, x->voice_count * sizeof(t_int ));
t_freebytes(x->dcblock_on, x->voice_count * sizeof(t_int ));
t_freebytes(x->dc_prev_in, x->voice_count * sizeof(t_double ));
t_freebytes(x->dc_prev_out, x->voice_count * sizeof(t_double ));
t_freebytes(x->sin, LKTBL_LNGTH * sizeof(t_double ));
t_freebytes(x->sinh, LKTBL_LNGTH * sizeof(t_double ));
t_freebytes(x->isfree, x->voice_count * sizeof(t_bool ));
}
开发者ID:EQ4,项目名称:db.drag,代码行数:26,代码来源:db.drag~.c
示例2: uwemsp_free
void uwemsp_free(t_uwemsp *x)
{
dsp_free((t_pxobject *)x); // needs to be called for MSP objects on free
// delete our array of signal pointers
sysmem_freeptr(x->u_buffers);
}
开发者ID:0x4d52,项目名称:ugen,代码行数:7,代码来源:uwemsp.cpp
示例3: hoa_rotate_free
void hoa_rotate_free(t_hoa_rotate *x)
{
dsp_free((t_pxobject *)x);
delete x->f_rotate;
delete [] x->f_ins;
delete [] x->f_outs;
}
开发者ID:MichelGoffin,项目名称:HoaLibrary,代码行数:7,代码来源:hoa.3d.rotate~.cpp
示例4: hoa_vector_free
void hoa_vector_free(t_hoa_vector *x)
{
dsp_free((t_pxobject *)x);
delete x->f_vector;
delete [] x->f_sig_ins;
delete [] x->f_sig_outs;
}
开发者ID:MichelGoffin,项目名称:HoaLibrary,代码行数:7,代码来源:hoa.3d.vector~.cpp
示例5: hoa_optim_free
void hoa_optim_free(t_hoa_optim *x)
{
dsp_free((t_pxobject *)x);
delete x->f_optim;
delete [] x->f_ins;
delete [] x->f_outs;
}
开发者ID:MichelGoffin,项目名称:HoaLibrary,代码行数:7,代码来源:hoa.2d.optim~.cpp
示例6: bthresher_free
void bthresher_free( t_bthresher *x ){
#if MSP
dsp_free( (t_pxobject *) x);
#endif
freebytes(x->Wanal,0);
freebytes(x->Wsyn,0);
freebytes(x->Hwin,0);
freebytes(x->buffer,0);
freebytes(x->channel,0);
freebytes(x->input,0);
freebytes(x->output,0);
freebytes(x->trigland,0);
freebytes(x->bitshuffle,0);
/* full phase vocoder */
freebytes(x->c_lastphase_in,0);
freebytes(x->c_lastphase_out,0);
/* external-specific memory */
freebytes(x->composite_frame,0);
freebytes(x->frames_left,0);
freebytes(x->move_threshold,0);
freebytes(x->damping_factor,0);
freebytes(x->list_data,0);
}
开发者ID:Angeldude,项目名称:pd,代码行数:25,代码来源:bthresher~.c
示例7: op_free
// Memory Deallocation
void op_free(t_op *x)
{
dsp_free((t_pxobject *)x);
TTObjectBaseRelease(&x->op);
TTObjectBaseRelease(&x->audioIn);
TTObjectBaseRelease(&x->audioOut);
}
开发者ID:thorangutang,项目名称:JamomaMax,代码行数:8,代码来源:jcom.op~.cpp
示例8: wlet_free
void wlet_free(t_wlet *x)
{
dsp_free((t_pxobject *)x);
free(x->w_tmp);
gsl_wavelet_free(x->w_wavelet);
gsl_wavelet_workspace_free(x->w_workspace);
}
开发者ID:Themitchell,项目名称:Max-Library,代码行数:7,代码来源:wavelet~.c
示例9: gendy_free
void gendy_free(t_gendy *x){
dsp_free((t_pxobject *)x);
sysmem_freeptr(x->mMemoryAmp);
sysmem_freeptr(x->mMemoryDur);
}
开发者ID:alfonso73,项目名称:sc-max,代码行数:7,代码来源:sc.gendy1~.cpp
示例10: zerox_free
// Destroy
void zerox_free(t_zerox *x)
{
dsp_free((t_pxobject *)x);
TTObjectBaseRelease(&x->zeroxUnit);
TTObjectBaseRelease(&x->signalIn);
TTObjectBaseRelease(&x->signalOut);
}
开发者ID:tap,项目名称:TapTools,代码行数:8,代码来源:tap.zerox~.cpp
示例11: balance_free
// Memory Deallocation
void balance_free(t_balance *x)
{
dsp_free((t_pxobject *)x);
TTObjectRelease(&x->balance);
TTObjectRelease(&x->audioIn);
TTObjectRelease(&x->audioOut);
}
开发者ID:alexarje,项目名称:JamomaDSP,代码行数:8,代码来源:jcom.balance~.cpp
示例12: allpassmod_free
// Destroy
void allpassmod_free(t_allpassmod *x)
{
dsp_free((t_pxobject *)x);
TTValue none;
TTAddress address;
address = x->name.appendAddress("/model");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/coefficient");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/delay");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/clear");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/in.left");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/in.right");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/out.left");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/out.right");
MaxApplication.send("ObjectUnregister", address, none);
address = x->name.appendAddress("/preset");
MaxApplication.send("ObjectUnregister", address, none);
}
开发者ID:EQ4,项目名称:JamomaMax,代码行数:35,代码来源:allpass1~.model.cpp
示例13: bounce_dsp_free
void bounce_dsp_free (t_bounce *x)
{
int i;
dsp_free((t_pxobject *)x);
t_freebytes(x->hz, x->voice_count * sizeof(t_double *));
t_freebytes(x->out, x->voice_count * sizeof(t_double *));
t_freebytes(x->symm, x->voice_count * sizeof(t_double *));
t_freebytes(x->hzFloat, x->voice_count * sizeof(t_double ));
t_freebytes(x->grad, x->voice_count * sizeof(t_double ));
t_freebytes(x->ball_loc, x->voice_count * sizeof(t_double ));
t_freebytes(x->shape, x->voice_count * sizeof(t_double ));
t_freebytes(x->direction, x->voice_count * sizeof(t_int ));
t_freebytes(x->hz_conn, x->voice_count * sizeof(t_int ));
t_freebytes(x->symm_conn, x->voice_count * sizeof(t_int ));
t_freebytes(x->dcblock_on, x->voice_count * sizeof(t_int ));
t_freebytes(x->dc_prev_in, x->voice_count * sizeof(t_double ));
t_freebytes(x->dc_prev_out, x->voice_count * sizeof(t_double ));
t_freebytes(x->sin, LKTBL_LNGTH * sizeof(t_double ));
t_freebytes(x->sinh, LKTBL_LNGTH * sizeof(t_double ));
for (i =0; i < x->voice_count; i++){
t_freebytes(x->fm[i], x->voice_count * sizeof(t_double));
}
t_freebytes(x->fm, x->voice_count * sizeof(t_double *));
}
开发者ID:DanBennettDev,项目名称:db.bounce,代码行数:29,代码来源:db.bounce~.c
示例14: multigrain_dsp_free
void multigrain_dsp_free(t_multigrain *x)
{
dsp_free((t_pxobject *)x);
t_freebytes(x->grains, MAXGRAINS * sizeof(t_grain));
t_freebytes(x->pitchscale, MAXSCALE * sizeof(float));
t_freebytes(x->changroup, x->output_channels * sizeof(long));
}
开发者ID:ericlyon,项目名称:LyonPotpourri3.0-MaxMSP,代码行数:7,代码来源:multigrain~.c
示例15: hoa_3d_decoder_free
void hoa_3d_decoder_free(t_hoa_3d_decoder *x)
{
dsp_free((t_pxobject *)x);
delete [] x->f_ins;
delete [] x->f_outs;
delete [] x->f_ins_bin;
}
开发者ID:Rocknrenew,项目名称:HoaLibrary-Max,代码行数:7,代码来源:hoa.3d.decoder_tilde.cpp
示例16: hoa_projector_free
void hoa_projector_free(t_hoa_projector *x)
{
dsp_free((t_pxobject *)x);
delete x->f_projector;
delete [] x->f_ins;
delete [] x->f_outs;
}
开发者ID:avilleret,项目名称:HoaLibrary-Max,代码行数:7,代码来源:hoa.2d.projector_tilde.cpp
示例17: grans_free
void grans_free(t_grans *x)
{
dsp_free((t_pxobject *)x);
free(x->sincwindow);
free(x->dampedsinetab);
free(x->expdecaytab);
free(x->wind_costab);
free(x->sinetab);
free(x->base);
// free(x->modbase);
long i;
for(i = 0; i < NSHAPINGTABS; i++){
free(x->exptab[i]);
x->exptab[i] = NULL;
}
free(x->exptab);
x->exptab = NULL;
// x->modbase = NULL;
x->sincwindow = NULL;
x->dampedsinetab = NULL;
x->expdecaytab = NULL;
x->wind_costab = NULL;
x->base = NULL;
x->sinetab = NULL;
}
开发者ID:CNMAT,项目名称:CNMAT-Externs,代码行数:28,代码来源:granufm~.c
示例18: vd_free
void vd_free(t_vd *x)
{
#if MSP
dsp_free((t_pxobject *)x);
#endif
free(x->delay_line);
}
开发者ID:ericlyon,项目名称:LyonPotpourri-MaxMSP,代码行数:7,代码来源:vd~.c
示例19: getonset_free
void getonset_free(t_getonset *x) {
if (x->Buf1) t_freebytes(x->Buf1, x->BufSize * sizeof(float));
if (x->Buf2) t_freebytes(x->Buf2, x->BufSize * sizeof(float));
if (x->BufFFT) t_freebytes(x->BufFFT, x->FFTSize * sizeof(float));
if (x->memFFT) t_freebytes(x->memFFT, CMAX * x->FFTSize * sizeof(float));
freeobject((t_object *)x->g_clock);
dsp_free((t_pxobject *)x);
}
开发者ID:CNMAT,项目名称:CNMAT-Externs,代码行数:8,代码来源:getonset~.c
示例20: FFTFree
// Destroy
void FFTFree(FFTPtr self)
{
dsp_free((t_pxobject*)self); // Always call dsp_free first in this routine
TTObjectRelease(&self->fft);
TTObjectRelease(&self->audioIn);
TTObjectRelease(&self->audioOut);
}
开发者ID:alexarje,项目名称:JamomaDSP,代码行数:9,代码来源:jcom.fft~.cpp
注:本文中的dsp_free函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论