Re: More newbie AU questions (compiler stuff, indexed parameters...)
Re: More newbie AU questions (compiler stuff, indexed parameters...)
- Subject: Re: More newbie AU questions (compiler stuff, indexed parameters...)
- From: "Paul Kellett" <email@hidden>
- Date: Tue, 17 Sep 2002 19:12:18 +0100
>
Bill Stewart <email@hidden> wrote:
>
>
CFStringRef strs[] = { CFSTR("First Value"), CFSTR("Second Value"),
>
CFSTR("Third Value") };
>
*outStrings = CFArrayCreate(NULL, (const void**)strs, 3, NULL);
>
return noErr;
Thanks, that works, and I now get a dropdown list instead of a slider.
(a dropdown list that would look nicer if it wasn't quite so wide!)
But is the CFArray someone else's problem from that point onwards?
And I'm puzzled why in GetParameterInfo, strcpy(outParameterInfo.name, "Name")
stops working for that parameter. I guess that's why you do this instead...
>
AUBase::FillInParameterName(outParameterInfo, kTestIndex_Name);
Today's questions:
Can I expect to get sent an AudioUnitReset() if the sample rate of the
incoming audio changes? (and will I get an AudioUnitReset() before the first
ever audio buffer? I'm wondering if it's equivalent to resume() in VST).
Apart from sliders, checkbuttons and dropdown lists, has the default interface
got any other tricks up it's sleeve? I notice parameters can be read only, so
maybe those get a text readout with no slider - I haven't tried it yet. If
there was a way to add some real-time updatable text, a bargraph meter, and
a spacer, then a lot of plug-ins wouldn't need custom interfaces at all. :)
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.