maolan-engine 0.1.2

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::wasapi;

#[derive(Debug)]
pub struct WasapiBackend;

impl Backend for WasapiBackend {
    type Driver = wasapi::HwDriver;
    type MidiHub = wasapi::MidiHub;

    const LABEL: &'static str = "WASAPI";
    const WORKER_THREAD_NAME: &'static str = "wasapi-worker";
    const ASSIST_THREAD_NAME: &'static str = "wasapi-assist";
    const ASSIST_AUTONOMOUS_ENV: &'static str = config::WASAPI_ASSIST_AUTONOMOUS_ENV;
}

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