pub unsafe extern "C-unwind" fn AudioQueueOfflineRender(
in_aq: AudioQueueRef,
in_timestamp: NonNull<AudioTimeStamp>,
io_buffer: AudioQueueBufferRef,
in_number_frames: u32,
) -> i32Available on crate features
AudioQueue and objc2-core-audio-types only.Expand description
Obtain a buffer of audio output from a queue in offline rendering mode.
Parameter inAQ: The output queue from which to obtain output.
Parameter inTimestamp: The point in time corresponding to the beginning of the output buffer. Only mSampleTime
is used. mFlags must include kAudioTimeStampSampleTimeValid.
Parameter ioBuffer: The buffer into which the queue will render.
Parameter inNumberFrames: The number of frames of audio to render. Note that fewer frames than requested may be returned.
This can happen if insufficient data was enqueued.
Returns: An OSStatus result code.
ยงSafety
in_aqmust be a valid pointer.in_timestampmust be a valid pointer.io_buffermust be a valid pointer.