• 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
Building Audio Unit with Cocoa View without parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Audio Unit with Cocoa View without parameters


  • Subject: Building Audio Unit with Cocoa View without parameters
  • From: Stefan Huber <email@hidden>
  • Date: Tue, 27 Mar 2007 14:11:43 +0200

Hi,

I'm trying to build a Audio Unit with a Cocoa view which does not use any parameters. The View only consists of a png picture.
The problem I was running into is that when I m not using any parameter the view will not be opened correctly.
I am quite new to developing audio units, so this might be a simple issue - but I was not able to find any information relating to that problem.


In order to end up with a working Cocoa view I found, that I need the call

Globals()->UseIndexedParameters(kNumberOfParameters);

If I set the kNumberOfParameters = 0 the View will not work correctly. In the AU-Lab a Cocoa View will be displayed, but it does not contain any content.
If I set the kNumberOfParameters = 1 the Cocoa View will work correctly, but the Generic View will contain an unused Parameter.


So, the question is - what do I need to do in order to end up with a Audio Unit with a working Cocoa View and a Generic View without unused parameters.

thank you


_______________________________________________ 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: Building Audio Unit with Cocoa View without parameters
      • From: William Stewart <email@hidden>
  • Prev by Date: AU CocoaView stealing key commands in Logic
  • Next by Date: Re: accessing input format of an audiounit in a graph
  • Previous by thread: AU CocoaView stealing key commands in Logic
  • Next by thread: Re: Building Audio Unit with Cocoa View without parameters
  • Index(es):
    • Date
    • Thread