• 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: Can't compile AU
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Can't compile AU
      • From: "Stewart Moroney" <email@hidden>
References: 
 >Re: Can't compile AU (From: "Stewart Moroney" <email@hidden>)

  • Prev by Date: Re: Can't compile AU
  • Next by Date: AUGraph wiring question
  • Previous by thread: Re: Can't compile AU
  • Next by thread: Re: Can't compile AU
  • Index(es):
    • Date
    • Thread