SoundIoInStream.error_callback

Optional callback. err is always SoundIoErrorStreaming. SoundIoErrorStreaming is an unrecoverable error. The stream is in an invalid state and must be destroyed. If you do not supply error_callback, the default callback will print a message to stderr and then abort(). This is called from the SoundIoInStream::read_callback thread context.

struct SoundIoInStream
extern (C) @nogc nothrow
void function(SoundIoInStream*, int err) error_callback;

Meta