Re: Can't compile AU
Re: Can't compile AU
- Subject: Re: Can't compile AU
- From: Marc Poirier <email@hidden>
- Date: Wed, 9 Oct 2002 17:49:42 +0200 (CEST)
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
_______________________________________________
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.