multiple Cocoa views
multiple Cocoa views
- Subject: multiple Cocoa views
- From: Jens Groh <email@hidden>
- Date: Sun, 19 Aug 2007 22:54:48 +0200
Hello Apple team,
unfortunately, your document "WritingCocoaAUUIs.pdf" is ambiguous.
Each audio unit that supports a Cocoa UI view must support the
following
property: kAudioUnitProperty_CocoaUI
The value of this property is the following struct:
typedef struct AudioUnitCocoaViewInfo {
CFURLRef mCocoaAUViewBundleLocation;
CFStringRef mCocoaAUViewClass[1];
};
mCocoaAUViewBundleLocation - contains the location of the bundle which
the host app can then use to locate the bundle
mCocoaAUViewClass - contains the names of the classes that
implements the
required protocol for an AUView
The AU can return an array of these view info structures (similar
to the CarbonUI
view component id's).
Should I read (1) "name of the class that implements", or (2) "names
of the classes that implement"?
The last sentence "return an array of these view info structures"
indicates that you mean (1).
But the fact that AULab works with multiple Cocoa views when I assume
(2), yet issues an error when I assume (1) indicates that you rather
meant mCocoaAUViewClass[kVariableLengthArray], and that exactly one
such structure shall be returned.
2007-08-19 20:33:09.938 AU Lab[5026] *** -[NSURL
_getCString:maxLength:encoding:]: selector not recognized [self =
0x15461eb0]
2007-08-19 20:33:09.938 AU Lab[5026] *** NSThread: ignoring
exception '*** -[NSURL _getCString:maxLength:encoding:]: selector
not recognized [self = 0x15461eb0]' that raised during delayed
perform of target 0x154c2550 and selector 'editEffect:'
Thanks for any help.
_______________________________________________
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