Type Alias

AudioFile_GetSizeProc

Gets file data size.

Declaration

typedef SInt64 (*AudioFile_GetSizeProc)(void *inClientData);

Parameters

inClientData

A pointer to the client data as set in the inClientData parameter to the AudioFileOpenWithCallbacks or AudioFileInitializeWithCallbacks functions.

Return Value

The callback should return the size of the data.

Discussion

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

Discussion

This callback gets invoked by an audio file object when it needs to get audio file data size. You pass this callback as a parameter when calling the AudioFileOpenWithCallbacks and AudioFileInitializeWithCallbacks functions.

See Also

Callbacks

AudioFile_ReadProc

Reads audio data when used in conjunction with the AudioFileOpenWithCallbacks or AudioFileInitializeWithCallbacks functions.)

AudioFile_WriteProc

A callback for writing file data when used in conjunction with the AudioFileOpenWithCallbacks or AudioFileCreateWithURL functions.

AudioFile_SetSizeProc

Sets file data size.