• 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: Multiple AUs in a bundle revisited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple AUs in a bundle revisited


  • Subject: Re: Multiple AUs in a bundle revisited
  • From: William Stewart <email@hidden>
  • Date: Mon, 19 May 2008 18:22:48 -0700

#define COMP_SUBTYPE group_COMP_SUBTYPE

Is being used in both cases - so you don't have an unique identifier for both components


Bill
On May 19, 2008, at 5:27 PM, Aristotel Digenis wrote:

Helllo, this is a follow up to the similarly titled post a while back:
http://lists.apple.com/archives/coreaudio-api/2005/Jun/msg00017.html

I want to put multiple plugins into one bundle. I have made a simple
test project with two default audio units, called "group" and
"groupB". In the .r file I have the following:

#include <AudioUnit/AudioUnit.r>

#include "groupVersion.h"
#include "groupBVersion.h"

// Note that resource IDs must be spaced 2 apart for the 'STR ' name
and description
#define kAudioUnitResID_group				1000
#define kAudioUnitResID_groupB				1002

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#define RES_ID			kAudioUnitResID_group
#define COMP_TYPE		kAudioUnitType_Effect
#define COMP_SUBTYPE	group_COMP_SUBTYPE
#define COMP_MANUF		group_COMP_MANF	

#define VERSION			kgroupVersion
#define NAME			"Whatever: group"
#define DESCRIPTION		"group AU"
#define ENTRY_POINT		"groupEntry"

#include "AUResources.r"

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#define RES_ID			kAudioUnitResID_groupB
#define COMP_TYPE		kAudioUnitType_Effect
#define COMP_SUBTYPE	group_COMP_SUBTYPE
#define COMP_MANUF		group_COMP_MANF	

#define VERSION			kgroupVersion
#define NAME			"Whatever: groupB"
#define DESCRIPTION		"groupB AU"
#define ENTRY_POINT		"groupBEntry"

#include "AUResources.r"

Now the .exp file contains:

_groupEntry
_groupBEntry

Unfortunately auval only sees the first one, "group", not "groupB". I
have tried to rebuild the project but still not change. Any ideas or
further code examples?

Thanks in advance,

Aristotel
_______________________________________________
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: 
 >Multiple AUs in a bundle revisited (From: "Aristotel Digenis" <email@hidden>)

  • Prev by Date: Re: render audio to a file
  • Next by Date: Re: ExtAudioFileRead fails after reaching EOF, despite new seek position
  • Previous by thread: Multiple AUs in a bundle revisited
  • Next by thread: AudioQueueNewInput: how to adjust callback rate?
  • Index(es):
    • Date
    • Thread