SoundIoOutStream.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 call abort. This is called from the SoundIoOutStream::write_callback thread context.

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

Meta