• 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: More newbie AU questions (compiler stuff, indexed parameters...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More newbie AU questions (compiler stuff, indexed parameters...)


  • Subject: Re: More newbie AU questions (compiler stuff, indexed parameters...)
  • From: Bill Stewart <email@hidden>
  • Date: Wed, 18 Sep 2002 10:40:15 -0700

All the code that does this is in the SDK (AUCarbonView Base and the Generic
view)

on 18/9/02 1:31 AM, Paul Kellett wrote:
> Following up on my last post...
>
>
>>> *outStrings = CFArrayCreate(NULL, (const void**)strs, 3, NULL);
>>> return noErr;
>>
>> Thanks, that works, and I now get a dropdown list instead of a slider.
>>
>> I'm puzzled why in GetParameterInfo, strcpy(outParameterInfo.name, "Name")
>> stops working for that parameter.

That does work for the name of the parameter... The idea of using CFStrings
here is to provide a mechanism for localization of names - which aren't
possible with the c-strings. The changes were made to the ParameterInfo
struct (AudioUnit/AudioUnitProperties.h)

> When using kAudioUnitParameterUnit_Indexed, if I don't supply any
> ParameterValueStrings, then I get the usual slider, but with parameter
> values quantized to integers. My parameter name displays as normal.
>
> If I do supply ParameterValueStrings I get a dropdown list, but the
> paramter name becomes "indexed param" and my parameter name setting is
> ignored (using either method - strcpy into .name or using a CFString).

Mmm..., sounds like a bug - we'll need to check this, but this does surprise
me

Bill

> I haven't worked out where the text "indexed param" is coming from...
>
>
>
> Paul.
>
> _____________________________
>
> m a x i m | digital audio
>
> http://mda-vst.com
> _____________________________
> _______________________________________________
> 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.

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
"...Been havin' some trouble lately in the sausage business," C.M.O.T.
Dibbler replied.
"What, having trouble making both ends meat?"
__________________________________________________________________________
_______________________________________________
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: More newbie AU questions (nearly there...!)
      • From: "Paul Kellett" <email@hidden>
References: 
 >Re: More newbie AU questions (compiler stuff, indexed parameters...) (From: "Paul Kellett" <email@hidden>)

  • Prev by Date: Re: Playing 2 or more audio data simultaneously
  • Next by Date: Re: AU2 - beatAndTempoProc
  • Previous by thread: Re: More newbie AU questions (compiler stuff, indexed parameters...)
  • Next by thread: Re: More newbie AU questions (nearly there...!)
  • Index(es):
    • Date
    • Thread