pub unsafe extern "C-unwind" fn ExtAudioFileWrite(
in_ext_audio_file: ExtAudioFileRef,
in_number_frames: u32,
io_data: NonNull<AudioBufferList>,
) -> i32
Available on crate features
ExtendedAudioFile
and objc2-core-audio-types
only.Expand description
Perform a synchronous sequential write.
Parameter inExtAudioFile
: The extended audio file object.
Parameter inNumberFrames
: The number of frames to write.
Parameter ioData
: The buffer(s) from which audio data is written to the file.
Returns: An OSStatus error code.
If the file has a client data format, then the audio data in ioData is translated from the client format to the file data format, via the ExtAudioFile’s internal AudioConverter.