Destructor needed
Destructor needed
- Subject: Destructor needed
- From: "Adam Stark" <email@hidden>
- Date: Sat, 24 Feb 2007 22:39:23 +0000
Hi,
I am having problems with a plug-in. It works absolutely fine but
occasionally it crashes, particularly when quitting a program or removing
the effect, and i am trying to track down the culprit and so I have some
questions (we will call my effect 'Effect' for this email...):
- I have used another class, created an object of it in the
effect.cpp/effect.h files:
Classtype instance;
Do I have to create a destructor for the EffectKernel class and destroy
this?
- If I create an array such as:
float *array;
and then in my constructor add:
array = new float[512]l
then do I have to destroy this in a destructor to avoid problems?
I'm sorry if these are basic programming questions but I wanted to ask the
question in relation to audio units.
I'd be very grateful for any help,
Thanks,
Adam
_________________________________________________________________
MSN Hotmail is evolving check out the new Windows Live Mail
http://ideas.live.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden