AudioUnit GUI from Cocoa Application
AudioUnit GUI from Cocoa Application
- Subject: AudioUnit GUI from Cocoa Application
- From: Jean Bovet <email@hidden>
- Date: Sat, 17 May 2003 22:24:56 +0200
Hello,
I am currently trying to develop a simple AU host and would like to
know how to get the UI of a component.
Should I get the list of the component having a GUI first ? I've tried
the method below, but I always get the error -10889.
OSStatus result = AudioUnitGetPropertyInfo(myAudioUnit,
kAudioUnitProperty_GetUIComponentList,
kAudioUnitScope_Global, 0 /*inElement*/,
&outDataSize, &outWritable);
Is it the wrong way ? Do you have any sample code how to get the list
and the GUI from a Cocoa application ?
Thanks a lot for any help!
Best regards,
Jean Bovet
------------------------------------------------------------------
Jean Bovet
Software Engineer
Automation, Production Engineering and Robotics Laboratory (LPR)
E-mail : email@hidden - Voice : ++41 (0)32 930 38 43
EIAJ, Le Locle Site
7, avenue de l'Httel-de-Ville, 2400 Le Locle, Switzerland
------------------------------------------------------------------
_______________________________________________
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.