• 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
Re: AudioUnit Trial/Demo versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnit Trial/Demo versions


  • Subject: Re: AudioUnit Trial/Demo versions
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Thu, 29 Apr 2010 09:37:10 -0600

Hi Dave,

On 29 Apr 2010, at 03:34, Muon Software Ltd - Dave wrote:

I tend to prefer conditional compilation for such things, then there is no save code in the demo version to reverse engineer. Something simple like

#ifndef DEMO_VERSION

//do save code

#else

//send a message telling the user this is the demo version and saving is not permitted

#endif


Then create two targets in your project, with with DEMO_VERSION defined and one without.

Sounds like a better idea and keeps the demo version in sync with the current release too.


Cheers,
Stephen




Kind regards Dave Muon Software Ltd www.muon-software.com



-----Original Message-----
From: coreaudio-api-bounces+dave=email@hidden [mailto:coreaudio-api-bounces+dave=email@hidden ] On Behalf Of Stephen Blinkhorn
Sent: Wednesday, April 28, 2010 10:09 PM
To: CoreAudio API
Subject: AudioUnit Trial/Demo versions


Hello,

I'm looking at writing a demo version of one of my (AU only so far)
plug-ins.  My idea is to prevent the user saving any presets/kits by
removing all save code from the custom view and also to override
SaveState() so that it basically does nothing.

That should stop anyone saving presets/kits or am I overlooking
something here?  Would it be a simple matter for some krack-head to
point my overridden SaveState to the base class SaveState to save
parameters with a session?

I'm not really into random bleeps, bursts of white noise, 30 day time-
outs and other stuff like that.

Any thoughts?
Stephen

_______________________________________________
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

_______________________________________________ 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
References: 
 >AudioUnit Trial/Demo versions (From: Stephen Blinkhorn <email@hidden>)
 >RE: AudioUnit Trial/Demo versions (From: Muon Software Ltd - Dave <email@hidden>)

  • Prev by Date: RE: AudioUnit Trial/Demo versions
  • Next by Date: Audio Queue for simultaneous input/output on iPhone
  • Previous by thread: RE: AudioUnit Trial/Demo versions
  • Next by thread: Audio Queue for simultaneous input/output on iPhone
  • Index(es):
    • Date
    • Thread