More newbie AU questions (compiler stuff, indexed parameters...)
More newbie AU questions (compiler stuff, indexed parameters...)
- Subject: More newbie AU questions (compiler stuff, indexed parameters...)
- From: "Paul Kellett" <email@hidden>
- Date: Sat, 14 Sep 2002 17:11:33 +0100
- 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.
- 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.
- Is there a way of setting the resolution of sliders on the
default interface? Having parameters in Seconds or Hertz
is useful, but as well as the min and max values I'd like
to be able to specify the number of steps inbetween (for
the slider only, the user can still type in other values).
- 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?
Thanks,
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.