• 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
multi-channel AUs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multi-channel AUs


  • Subject: multi-channel AUs
  • From: George Taylor <email@hidden>
  • Date: Fri, 28 Mar 2003 20:29:31 -0500

Hello,

I'm having trouble figuring out the right way to create an n-channel
cross-coupling effect that processes all input channels together in a single
function.

I've started with the SampleEffect project, but quickly learned all about
"V2" AUs, and that each channel is processed in its own seperate Kernel. I
want to process multiple channels through a single Kernel. So I added this
to my effect's constructor:

CAStreamBasicDescription old_format = GetInput(0)->GetStreamFormat();
CAStreamBasicDescription new_format(old_format);
new_format.SetCanonical( 2, true );
GetInput(0)->SetStreamFormat( new_format );
GetOutput(0)->SetStreamFormat( new_format );

Is this a proper way to make the effect process interleaved data?

And I've also noticed that the AUEffectBase::MaintainKernels() method is
where a single Kernel for each channel is created. But if the effect uses an
interleaved format, it should only need a single Kernel for all channels.
But MaintainKernels() isn't a virtual function, which makes me think that
maybe I'm off on the wrong foot. Should I approach this differently? Should
I start with AUBase and forget about AUEffectBase?

Thanks for any help with this,

George
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: multi-channel AUs
      • From: Bill Stewart <email@hidden>
    • Re: multi-channel AUs
      • From: Marc Poirier <email@hidden>
  • Prev by Date: OT: OS X documentation
  • Next by Date: Re: multi-channel AUs
  • Previous by thread: Re: OT: OS X documentation
  • Next by thread: Re: multi-channel AUs
  • Index(es):
    • Date
    • Thread