• 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: ClassInfo & PresentPreset confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Channels and frames
  • Next by Date: Re: BusCount (Was: ClassInfo & PresentPreset confusion)
  • Previous by thread: Re: Nevermind (was choppy sound with non-44.1khz PCM files)
  • Next by thread: Re: BusCount (Was: ClassInfo & PresentPreset confusion)
  • Index(es):
    • Date
    • Thread