InputCallback data request size
InputCallback data request size
- Subject: InputCallback data request size
- From: Hari Seldon <email@hidden>
- Date: Wed, 11 Oct 2006 18:22:06 -0400
I'm trying to improve the perf of my current CoreAudio usage. Right
now I'm memcpy'ing data into the buffer provided by InputCallback (on
an AUConverter). I'd like to change this to just provide a pointer to
my internal buffer of data. The only problem I have with this is that
the InputCallback parameter only takes a single buffer pointer, and
I'm using a circular buffer. Currently InputCallback always asks for
2k worth of data, and I could use this number for my buffersize, but
couldn't this number change?
Is there a way to check how much data the InputCallback will ask for
when the graph is created? Will this value ever change during
execution, or will it remain the same during the life of the process?
Thanks
_______________________________________________
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