pub unsafe extern "C-unwind" fn AudioFileComponentWriteBytes(
in_component: AudioFileComponent,
in_use_cache: bool,
in_starting_byte: i64,
io_num_bytes: NonNull<u32>,
in_buffer: NonNull<c_void>,
) -> i32
Available on crate feature
AudioComponent
only.Expand description
implements AudioFileWriteBytes.
Parameter inComponent
: an AudioFileComponent
Parameter inUseCache
: true if it is desired to cache the data upon write, else false
Parameter inStartingByte
: the byte offset where the audio data should be written
Parameter ioNumBytes
: on input, the number of bytes to write, on output, the number of
bytes actually written.
Parameter inBuffer
: inBuffer should be a void * containing the bytes to be written
Returns: returns noErr if successful.