• 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: More of Process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: More of Process (From: philippe wicker <email@hidden>)

  • Prev by Date: Re: More of Process
  • Next by Date: Re: Channels and frames
  • Previous by thread: Re: More of Process
  • Next by thread: Re: Channels and frames
  • Index(es):
    • Date
    • Thread