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: Marc Poirier <email@hidden>
- Date: Sat, 14 Sep 2002 13:30:48 -0400
- This is more of a ProjectBuilder question than a CoreAudio
question, but is it possible to output my component straight
into Audio/Plug-Ins/Components rather than a folder under my
project? Setting the "Intallation Location" has no effect.
Heh,you'd think that the install location might make a difference...
;) I've set up projects to build the output elsewhere, but I
actually can't remember exactly how. I think I had to go into the PB
preferences oddly enough, and... something else...
- The size of a simple AudioUnit seems to be around 300k,
which is mostly air (it stuffs to 64k). Is there anything I
can do about this? The only thing that seems redundant is
the pbdevelopment.plist file.
Are you building with debug info? Set the target to "deployment"
build style and don't generate debug stuff.
- I'm trying to use kAudioUnitParameterUnitIndexed. I've added this:
GetParameterValueStrings(AudioUnitScope inScope,
AudioUnitParameterID inParameterID, CFArrayRef *outStrings)
{
if(inParameterID == kMyIndexedParameter) outStrings = &myStrings;
...
}
and in the constructor I do this:
myStrings = CFStringCreateArrayBySeparatingStrings(NULL,
CFSTR("SINE|SAW|SQUARE"), CFSTR("|");
but I still just get a slider with a numeric display (in the
AudioUnitHosting app) though it does move in integer steps now.
Is there something else I have to do as well?
I think that in GetParameterInfo() you are also supposed to do this:
outParameterInfo.cfNameString = myString;
Marc
_______________________________________________
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.