Re: ClassInfo & PresentPreset confusion
Re: ClassInfo & PresentPreset confusion
- Subject: Re: ClassInfo & PresentPreset confusion
- From: "Hae-seong, Zo" <email@hidden>
- Date: Sat, 5 Nov 2005 21:08:02 +0900
- Y-message-id: <014401c5e201$97a40280$0200000a@Just>
> return true in BusCountWritable(), but override SetBusCount() and
> return kAudioUnitErr_InvalidPropertyValue if count is not equal to 1 or
> 4, otherwise pass the call to superclass.
>
> You know actual number of output buses in Inititalize() call -
> Outputs().GetNumberOfElements().
Hello,
I've implemented my AU class derived from MusicDeviceBase,
and my AU has no input, ans has 1 or 2 stereo buses.
So the contructor seems like the below:
...
MyAU::MyAU(AudioUnit component)
: MusicDeviceBase(component, 0, 2) // I think I have no choice but 2
{
...
}
...
In Initialize(), Outputs().GetNeumberOfElements() always returns 2,
no matter it's loaded from 'Stereo' or 'Multi-channel' menu in Logic 7.
I want that it returns 1 from 'Stereo', and 2 from 'Multi-channel'.
What am I wrong?
And, is it possible to see the output bus tracks from the virtual instrument in Logic,
like in the Cubase with VST version?
Regards,
Hae-seong, Zo.
LUXONIX.
http://luxonix.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden