Re: More of Process
Re: More of Process
- Subject: Re: More of Process
- From: "john smith" <email@hidden>
- Date: Fri, 04 Nov 2005 16:32:46 +0100
Hi all,
No-one seems really to be able to tell me how to access the second bus.
Here's what I came up with, maybe someone can verify it:
I override ProcessBufferLists(...).
If GetInput(1) doesn't return 0, then a second bus has been instantiated,
and I can access it. I can also do this in Initialize() (to save time during
processing)
If the second bus has been instantiated, then I can do
GetInput(1)->GetBufferList() to get the buffer list. This I do inside
ProcessBufferLists(...).
The buffer list returned will tell me how many channels the input has.
The channel count of any of the busses may change, in which case the plug-in
is de-initialized and re-initialized, i.e. Initialize() is called again.
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