Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: "john smith" <email@hidden>
- Date: Fri, 28 Oct 2005 12:34:05 +0200
Also, while reading it, it struck me that I was reading the wrong
documentation. This is about properties, but since I'm using the base
classes, surely there's some calls I should make, or methods I should
override(say, GetNrOfOutputChannels()). Am I wrong in assuming that?
It's SupportedNumChannels() (covered in the 2nd and 3rd items I listed
above).
I must have misunderstood something, because when using the following code,
the plug-in still shows up as mono->mono and mono->stereo in Logic.
AUChannelInfo gpChannelInfos[16];
UInt32 AU::SupportedNumChannels(const AUChannelInfo** outInfo)
{
if (outInfo != NULL) {
gpChannelInfos[0].inChannels = 2;
gpChannelInfos[0].outChannels = 2;
*outInfo = (AUChannelInfo*)&gpChannelInfos;
}
return 1;
}
Any clues?
Thanks,
Michael Olsen
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
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