Re: Displaying an AudioUnitCarbonView in a Cocoa application?
Re: Displaying an AudioUnitCarbonView in a Cocoa application?
- Subject: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
- From: Per Bull Holmen <email@hidden>
- Date: Thu, 10 Jun 2010 14:36:36 -0700 (PDT)
Paul Davis wrote:
> On Thu, Jun 10, 2010 at 4:10 PM, Per Bull Holmen <email@hidden> wrote:
>
> > The thing is that my calls to AudioUnitGetPropertyInfo, with kAudioUnitProperty_CocoaUI as the property fails with the error code: kAudioUnitErr_InvalidProperty. This happens with both Apple's DLS synth AND the third party device. I thought that was a bit strange. But from what you tell me, I think there must be something else that is wrong in my code, and that the AudioUnits do have Cocoa UIs?
>
> it depends on the release of OS X. in tiger (which i use for most of
> my development) there is a mixutre of cocoa and carbon. i know that in
> later versions, the Apple AUs that had carbon views in tiger have
> mostly moved to cocoa.
I see I must have misinformed the list. I said my code for displaying the Carbon UI worked for Apple's DLS synth but not for the third party device. Stepping through my code, I see that my application detects that the DLS synth DOES have a Cocoa UI, and opens it. That's why it works. The third party AudioUnit does NOT have have a Cocoa UI, and my code for displaying the Carbon UI doesn't work for neither device. Maybe I won't bother fixing it, and use AUGenericView instead... It's not for public release. Thanks for your help, anyway.
Per
_______________________________________________
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