maolan-engine 0.0.7

Audio engine for the Maolan DAW with audio/MIDI tracks, routing, export, and CLAP/VST3/LV2 hosting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::hw_worker::Backend;
use crate::hw::config;
use crate::hw::sndio;

#[derive(Debug)]
pub struct SndioBackend;

impl Backend for SndioBackend {
    type Driver = sndio::HwDriver;
    type MidiHub = sndio::MidiHub;

    const LABEL: &'static str = "sndio";
    const WORKER_THREAD_NAME: &'static str = "sndio-worker";
    const ASSIST_THREAD_NAME: &'static str = "sndio-assist";
    const ASSIST_AUTONOMOUS_ENV: &'static str = config::SNDIO_ASSIST_AUTONOMOUS_ENV;
}

pub type HwWorker = super::hw_worker::HwWorker<SndioBackend>;