deimos.flac.callback

Undocumented in source.

Members

Aliases

FLAC__IOCallback_Close
alias FLAC__IOCallback_Close = int function(FLAC__IOHandle handle)

Signature for the close callback. The signature and semantics match POSIX fclose() implementations and can generally be used interchangeably.

FLAC__IOCallback_Eof
alias FLAC__IOCallback_Eof = int function(FLAC__IOHandle handle)

Signature for the EOF callback. The signature and semantics mostly match POSIX feof() but WATCHOUT: on many systems, feof() is a macro, so in this case a wrapper function must be provided instead.

FLAC__IOCallback_Read
alias FLAC__IOCallback_Read = size_t function(void* ptr, size_t size, size_t nmemb, FLAC__IOHandle handle)

Signature for the read callback. The signature and semantics match POSIX fread() implementations and can generally be used interchangeably.

FLAC__IOCallback_Seek
alias FLAC__IOCallback_Seek = int function(FLAC__IOHandle handle, FLAC__int64 offset, int whence)

Signature for the seek callback. The signature and semantics mostly match POSIX fseek() WITH ONE IMPORTANT EXCEPTION: the offset is a 64-bit type whereas fseek() is generally 'int' and 32-bits wide.

FLAC__IOCallback_Tell
alias FLAC__IOCallback_Tell = FLAC__int64 function(FLAC__IOHandle handle)

Signature for the tell callback. The signature and semantics mostly match POSIX ftell() WITH ONE IMPORTANT EXCEPTION: the offset is a 64-bit type whereas ftell() is generally 'int' and 32-bits wide.

FLAC__IOCallback_Write
alias FLAC__IOCallback_Write = size_t function(const void* ptr, size_t size, size_t nmemb, FLAC__IOHandle handle)

Signature for the write callback. The signature and semantics match POSIX fwrite() implementations and can generally be used interchangeably.

FLAC__IOHandle
alias FLAC__IOHandle = void*

This is the opaque handle type used by the callbacks. Typically this is a \c FILE* or address of a file descriptor.

Structs

FLAC__IOCallbacks
struct FLAC__IOCallbacks

A structure for holding a set of callbacks. Each FLAC interface that requires a FLAC__IOCallbacks structure will describe which of the callbacks are required. The ones that are not required may be set to NULL.

Meta