Contents

AudioFile_WriteProc

A callback for writing file data when used in conjunction with the Audiofileopenwithcallbacks(_:_:_:_:_:_:_:) or Audiofilecreatewithurl(_:_:_:_:_:) functions.

Declaration

typealias AudioFile_WriteProc = (UnsafeMutableRawPointer, Int64, UInt32, UnsafeRawPointer, UnsafeMutablePointer<UInt32>) -> OSStatus

Parameters

Return Value

A result code. See Result Codes.

Discussion

If you named your function MyAudioFile_WriteProc, you would declare it like this:

Discussion

This callback function is invoked when Audio File Services needs to write data.

See Also

Callbacks