• 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: cocoa UI in aulab?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa UI in aulab?


  • Subject: Re: cocoa UI in aulab?
  • From: Lubor Prikryl DS <email@hidden>
  • Date: Fri, 23 May 2008 20:12:30 +0200

Hi Bill,

I have noticed you have mentioned that some naming mismatch is fixed in the AUFilter example. I guess there is something similar in the Cocoa GUI AU template - when I compile an AU created from the template, it doesn't pass Auval because of "ERROR: Cocoa Views Information cannot be retrieved".

The first problem is in the executable name of the AU view - the template adds an extra prefix with the class name to the property list (the view .plist).

I have fixed the property list string values, then the plug-in passes Auval, but there is still some naming mismatch so the custom GUI does not open. I am a Carbon guy, so I was not able to fix it. I am sure the template is not working properly. Later I have found another e- mail describing the problem, it is pasted below.

Lubor Prikryl




email@hidden

Subject: 	Cocoa View AU template in Leopard doesn't work??

Hi all,

I am creating a Cocoa View AU using the AudioUnit Cocoa View template
in Xcode 3 under Leopard.

The code compiles fine but all I get when copying the AU to the
components directory and trying it in various programs all I see is
the default GUI, not my Cocoa View. I have verified that the
WaveFormView Cocoa example that comes with Xcode 3 works, it's just
the raw template that does not.

I have not modified anything (besides my company name by using
"defaults write" on the PBXCustomTemplateMacroDefinitions key) and I
have verified that this problem exists with the default template
without modifying any files - HELP!

It looks to me as if the Cocoa View AU template is broken???

Thanks,
--th
__________


On 1.2.2008, at 21:10, William Stewart wrote:

Have a look at the Cocoa AU Template in XCode - it sets up all of this for you (and the Cocoa AU Host app in the SDK gives you the code I think for how to display these views)

On Jan 31, 2008, at 8:13 PM, Kevin Dixon wrote:

I seem to recall something about this earlier this month or something, but
I just built the cocoa AU template, and I can't seem to activate the the
Cocoa view.


Should the bundle id string be the same for both targets, the AU and the
View?


Then when i return the GetProperty call, I access
CFBundleGetBundleWithIdentifier....
which bundle identifier should i return?

Thanks,

-Kevin Dixon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com


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


_______________________________________________ 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
  • Prev by Date: Re: AudioDevice playback time information?
  • Next by Date: Re: cocoa UI in aulab?
  • Previous by thread: Re: AudioDevice playback time information?
  • Next by thread: Re: cocoa UI in aulab?
  • Index(es):
    • Date
    • Thread