pub type snd_lib_error_handler_t = Option<unsafe extern "C" fn(file: *const c_char, line: c_int, function: *const c_char, err: c_int, fmt: *const c_char, ...)>;
Expand description

\brief Error handler callback. \param file Source file name. \param line Line number. \param function Function name. \param err Value of \c errno, or 0 if not relevant. \param fmt \c printf(3) format. \param … \c printf(3) arguments.

A function of this type is called by the ALSA library when an error occurs. This function usually shows the message on the screen, and/or logs it.

Aliased Type§

enum snd_lib_error_handler_t {
    None,
    Some(unsafe extern "C" fn(_: *const i8, _: i32, _: *const i8, _: i32, _: *const i8, ...)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8, _: i32, _: *const i8, _: i32, _: *const i8, ...))

Some value of type T.