• 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: Newb: MultitapAU UI does not appear
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newb: MultitapAU UI does not appear


  • Subject: Re: Newb: MultitapAU UI does not appear
  • From: Marc Poirier <email@hidden>
  • Date: Sun, 6 Mar 2005 17:20:38 -0500

The AU needs to override ComponentBase's Version() method and return a version value the same as in its 'thng' resource (i.e. what is #defined in the .r file). Then you won't get that version mismatch error. Hmmm, someone should file a bug with Apple if the SDK example is making that mistake. I see, it is missing, but the SDK's SampleEffectUnit handles this properly.

Not sure about the failure to open the AU view problem...

Marc



On Mar 6, 2005, at 5:06 PM, Michael Hanna wrote:

following the instructions in the readme, I built the MultitapAUView target first, generating the MultitapAUView binary in my build directory.

Then I built the MultitapAU target, resulting in MultitapAU.component in my build dir. I then placed the MultitapAUView binary into MultitapAU.component > Contents > MacOS

auval -a gives me

aufx asmd appl  -  Apple: Sample Multitap Delay

so I ran auval -v aufx asmd appl

which tells me where the AU failed in two places:

--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit:           59.078ms
WARM:
Time to open AudioUnit:           0.034ms
ERROR: Component Version mismatch: Res Vers = 0x10000, Comp Vers = 0x1

* * FAIL


-------------------------------------------------- VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Carbon View Components Available: 1
  Component 'auvw' - 'asmd' - 'appl'
ERROR: View Component specified, but can't be opened

Cocoa Views Available: 0

VERIFYING CLASS INFO
    PASS

TESTING HOST CALLBACKS
    PASS

* * FAIL


I checked the MultitapAU.r file hoping something in there might help, but I'm not sure why there's a version conflict.


#include <AudioUnit/AudioUnit.r>
#include <AudioUnit/AudioUnitCarbonView.r>

// _______________________________________________________________________ _____
// component resources for Audio Unit
#define RES_ID 1000
#define COMP_TYPE kAudioUnitType_Effect
#define COMP_SUBTYPE 'asmd'
#define COMP_MANUF 'appl'
#define VERSION 0x00010000
#define NAME "Apple: Sample Multitap Delay"
#define DESCRIPTION "Apple's sample multitap delay unit"
#define ENTRY_POINT "MultitapAUEntry"


#include "/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/ AUResources.r"

// _______________________________________________________________________ _____
// component resources for Audio Unit Carbon View
#define RES_ID 2000
#define COMP_TYPE kAudioUnitCarbonViewComponentType
#define COMP_SUBTYPE 'asmd'
#define COMP_MANUF 'appl'
#define VERSION 0x00010000
#define NAME "Sample Multitap Delay AUView"
#define DESCRIPTION "Sample Multitap Delay AUView"
#define ENTRY_POINT "MultitapAUViewEntryShim"


#include "/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/ AUResources.r"



Also, why can't the view component be opened? I checked the permissions on MultitapAUView and they were tao:admin(the permissions on MultitapAU was tao:tao) yet even after doing chgrp tao MultitapAUView seemed make no difference.

any direction on this would be greatly appreciated...
Michael

_______________________________________________ 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: 
 >Newb: MultitapAU UI does not appear (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: MyVolumeUnit example.. does not 'pan'
  • Next by Date: Re: AudioFileTypeAndFormatID
  • Previous by thread: Newb: MultitapAU UI does not appear
  • Next by thread: update: DFX AU utilities library
  • Index(es):
    • Date
    • Thread