org.rococoa.cocoa.quicktime
Interface QuickTimeLibrary.AudioContextInsertResetCallback
- All Superinterfaces:
- Callback
- Enclosing interface:
- QuickTimeLibrary
public static interface QuickTimeLibrary.AudioContextInsertResetCallback
- extends Callback
AudioContextInsertResetCallback
Summary:
A client-supplied function to be called to initialize and reset
for processing data.
Discussion:
This routine is called by the Audio Context to initialize for
rendering. The client is told the sample rate and the maximum
number of frames it will be asked to process on any single
ProcessData callback (ie, inNumberFrames will always be <=
inMaxFrames). On return, the client reports its processing
latency and tail times. This callback is invoked whenever the
rendering chain is interrupted (eg, when playback jumps to a new
point or changes direction). The client should call
AudioUnitReset on any audio units in use, and should be prepared
to respond to changes of sample rate or maxframes.
Parameters:
inUserData:
An opaque pointer to the client's data.
inSampleRate:
A Float64 that will specifies the sample rate of the data to be
processed.
inMaxFrames:
A UInt32 that specifies the maximum number of maximum frame
count that will be processed in a single call.
outLatency:
A pointer to a Float64 that specifies the insert's render
latency, in seconds. Latency data will be pulled and discarded
by QuickTime after each reset.
outTailTime:
A pointer to a Float64 that specifies the insert's tail render
time, in seconds.