• 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
GetParameterValueStrings requires fixed, compile time strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GetParameterValueStrings requires fixed, compile time strings?


  • Subject: GetParameterValueStrings requires fixed, compile time strings?
  • From: Shai Shasag <email@hidden>
  • Date: Tue, 8 Apr 2003 09:32:41 +0300

I'm implementing plugin automation using AUBase parameters.
The function GetParameterValueStrings is called for indexed parameters to get the names of each possible value of the parameter.
Apple's example shows that this function should fill in a pointer to CFArrayRef containing CFStringRef objects. The CFStringRef are created by the CFSTR function.

Problem is that, as I understand CFStringRef, these objects can only be created at compile time, like the string literals they replace. However my values are dynamically created at runtime.

Is there a way to create these strings at runtime?

Shai Shasag
Waves
_______________________________________________
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.

  • Follow-Ups:
    • Re: GetParameterValueStrings requires fixed, compile time strings?
      • From: Art Gillespie <email@hidden>
    • Re: GetParameterValueStrings requires fixed, compile time strings?
      • From: Bill Stewart <email@hidden>
    • Re: GetParameterValueStrings requires fixed, compile time strings?
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Peak 4 will support Audio Units
  • Next by Date: AU logo
  • Previous by thread: Re: Peak 4 will support Audio Units
  • Next by thread: Re: GetParameterValueStrings requires fixed, compile time strings?
  • Index(es):
    • Date
    • Thread