Re: Can't compile AU
Re: Can't compile AU
- Subject: Re: Can't compile AU
- From: "Stewart Moroney" <email@hidden>
- Date: Wed, 9 Oct 2002 17:26:20 +0100
This doesn't seem to help, I still get the same error! Is there anything I
can check in AUResources.r to make sure I've the correct version?
----- Original Message -----
From: Marc Poirier <email@hidden>
To: Stewart Moroney <email@hidden>
Cc: core audio list <email@hidden>
Sent: Wednesday, October 09, 2002 4:49 PM
Subject: Re: Can't compile AU
>
Defining COMP_TYPE and COMPU_SUBTYPE like that will make it a v1 Audio
>
Unit. Try this (it is v2 style) and see if you have better luck
>
compiling:
>
>
>
#include "AudioUnit.r"
>
>
#define kAudioUnitResID_SampleEffectUnit 10000
>
>
#define RES_ID kAudioUnitResID_SampleEffectUnit
>
#define COMP_TYPE kAudioUnitType_Effect
>
#define COMP_SUBTYPE 'samp' // can be whatever you want
>
#define COMP_MANUF 'SMEU'
>
#define VERSION 0x00010000
>
#define NAME "StewartMoroney:SampleEffectUnit"
>
#define DESCRIPTION "Moroney test effect"
>
#define ENTRY_POINT "SampleEffectUnitEntry"
>
>
#include "AUResources.r"
>
>
>
>
Also, make sure that your plugin class name is SampleEffectUnit and that
>
you have this macro somewhere in your code:
>
>
COMPONENT_ENTRY(SampleEffectUnit)
>
>
otherwise the entry point stuff will produce errors.
>
>
>
Good luck,
>
Marc
>
>
>
>
On Wed, 9 Oct 2002, Stewart Moroney wrote:
>
>
> The resource file contains
>
>
>
> #include <AudioUnit/AudioUnit.r>
>
>
>
> #define kAudioUnitResID_SampleEffectUnit 10000
>
>
>
> #define RES_ID kAudioUnitResID_SampleEffectUnit
>
> #define COMP_TYPE kAudioUnitComponentType
>
> #define COMP_SUBTYPE kAudioUnitSubType_Effect
>
> #define COMP_MANUF 'SMEU'
>
> #define VERSION 0x00010000
>
> #define NAME "StewartMoroney:SampleEffectUnit"
>
> #define DESCRIPTION "Moroney test effect"
>
> #define ENTRY_POINT "SampleEffectUnitEntry"
>
>
>
> Also will this be defined as a V1 AU or V2?
>
>
>
> Stewart
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.