• 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
Kernel Process() parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel Process() parameters


  • Subject: Kernel Process() parameters
  • From: patrick machielse <email@hidden>
  • Date: Fri, 8 Feb 2008 14:27:20 +0100

In my Audio Unit I override the Process() method:

virtual void Process(
const Float32* inSourceP,
Float32* inDestP,
UInt32 inFramesToProcess,
UInt32 inNumChannels,
bool& ioSilence)
{
}
My code in the method body worked on the assumption inSourceP != inDestP (this notion was reinforced in my mind by the different type qualifiers) but in practice (in my app) it turns out that inSourceP IS inDestP.
Is there any way to know (or influence) under what circumstances the source and destination pointers will be equal, and when they might be different?
patrick
_______________________________________________
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
  • Follow-Ups:
    • Re: Kernel Process() parameters
      • From: Cynthia Maxwell <email@hidden>
  • Prev by Date: CoreAudio SDK 1.5 documentation missing
  • Next by Date: Re: Kernel Process() parameters
  • Previous by thread: Re: CoreAudio SDK 1.5 documentation missing
  • Next by thread: Re: Kernel Process() parameters
  • Index(es):
    • Date
    • Thread