• 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: Displaying an AudioUnitCarbonView in a Cocoa application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 13:10:27 -0700 (PDT)

> ----- Original Message ----
> From: Paul Davis <email@hidden>
> To: Per Bull Holmen <email@hidden>
> Cc: email@hidden
> Sent: Thu, June 10, 2010 8:14:51 PM
> Subject: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
>
> On Thu, Jun 10, 2010 at 2:05 PM, Per Bull Holmen <email@hidden> wrote:
> > Hi
> >
> > Can someone please help me explain what I'm doing wrong. I'm trying, in a Cocoa application, to open up a window to display an AudioUnit's custom view. The Audio Unit only has a carbon UI, and I am completely new to Carbon. Is it possible to display a window with a Carbon UI, in a Cocoa app??
>
> 1) have you read the apple technote on how to do this?
> http://developer.apple.com/mac/library/technotes/tn2007/tn2213.html
> 2) Are you aware that Carbon is deprecated as of Snow Leopard?
>
> --p

Thank you. I haven't read the technote, but I really don't want to touch Carbon, so that makes me happy to hear. 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?

I will look for errors elsewhere, in the meanwhile, it would be nice if someone can confirm that Apple's DLS synth does have a Cocoa UI view.

Thank you, and I hope you are not to annoyed by a hobby developer like me, who really only program for my own sake.

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

  • Follow-Ups:
    • Re: Displaying an AudioUnitCarbonView in a Cocoa application?
      • From: Paul Davis <email@hidden>
References: 
 >Displaying an AudioUnitCarbonView in a Cocoa application? (From: Per Bull Holmen <email@hidden>)
 >Re: Displaying an AudioUnitCarbonView in a Cocoa application? (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Next by Date: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Previous by thread: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Next by thread: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Index(es):
    • Date
    • Thread