Remote IO render callback
Remote IO render callback
- Subject: Remote IO render callback
- From: Andrew Coad <email@hidden>
- Date: Thu, 27 May 2010 13:45:23 -0400
- Importance: Normal
Hi,
At what instant in time is the render callback for the Remote IO Unit called?
static OSStatus renderOutputCallback(void *inRefCon,
AudioUnitRenderActionFlags *ioActionFlags,
const AudioTimeStamp *inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList *ioData)
Is it after all previously supplied samples have been played out and hence inTimeStamp.mSampleTime provides a count of actual samples already played (and you have exactly one sample time [22uS at 44.1kHz] to get more samples to the unit)? Or does it get called prior to all samples having been played and inTimeStamp.mSampleTime is the sample count that will occur at some point in the near future after all available samples have been played out? If the former, then the relationship between inTimeStamp.mSampleTime and inTimeStamp.mHostTime is clear cut but what is the relationship if the latter is the case? Andrew Coad
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. Get busy.
|
_______________________________________________
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