maolan-engine 0.0.5

Audio engine for the Maolan DAW with audio/MIDI tracks, routing, export, and CLAP/VST3/LV2 hosting
Documentation
#[cfg(any(target_os = "linux", target_os = "openbsd"))]
pub fn backend_open_error(
    backend: &str,
    direction: &str,
    device: &str,
    err: impl std::fmt::Display,
) -> String {
    format!("Failed to open {backend} {direction} '{device}': {err}")
}

#[cfg(any(target_os = "linux", target_os = "openbsd"))]
pub fn backend_io_error(backend: &str, direction: &str, err: impl std::fmt::Display) -> String {
    format!("{backend} {direction} io error: {err}")
}

#[cfg(target_os = "linux")]
pub fn backend_rw_error(
    backend: &str,
    direction: &str,
    op: &str,
    err: impl std::fmt::Display,
) -> String {
    format!("{backend} {direction} {op} failed: {err}")
}