• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Destructor needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Destructor needed
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Is there a way to play multiple audio files at the same time?
  • Next by Date: M3D Java Sound mixer
  • Previous by thread: Re: Is there a way to play multiple audio files at the same time?
  • Next by thread: Re: Destructor needed
  • Index(es):
    • Date
    • Thread