newbie AU questions
newbie AU questions
- Subject: newbie AU questions
- From: James Closs <email@hidden>
- Date: Tue, 11 Jul 2006 14:30:32 +0100
Hi all,
I'm new to AU development (and DSP development and C++ in general!).
Have been going through the AUDemo sample code and am so far having a
reasonable degree of success setting up simple AUs (that almost
destroy my speakers!)
I had a few questions before I start trying to do things 'properly'.
I'd be grateful if anyone could answer these, or point me to the
appropriate place in the docs...
1. Buffer Size
The amount of samples passed to AUDemo::AUDemoKernel::Process() seems
(logically) to be the same as the audio buffer size. Is there any way
of getting the audio buffer size outside of this method so that I can
use it for various initiation tasks? E.g, to set up my own internal
buffers at the appropriate size?
2. Latency
I presume the correct way of dealing with this is the amount of 'look
ahead' my plug would induce. So if the samples I'm writing are 64
samples 'behind' the ones I'm reading I report 64 samples latency. Is
this a correct assumption?
3. Mono, Stero, Mono->Stereo
What exactly am I receiving in AUDemb::AUDemoKernel::Process()? If
it's not an interleaved stream (the comments indicate that it's not)
then how do I deal with each side of a stereo signal? How do I know
(or force) whether I'm operating in mono, stero, or mono->stereo mode?
I'm sure there will be many more, but that'll be enough for me to get
my teeth into at the moment!
best
====
James Closs, Director, bitBull Ltd
http://www.bitbull.com
07771 991171
====
_______________________________________________
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