1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use super::hw_worker::Backend; use crate::hw::config; use crate::hw::oss; #[derive(Debug)] pub struct OssBackend; impl Backend for OssBackend { type Driver = oss::HwDriver; type MidiHub = oss::MidiHub; const LABEL: &'static str = "OSS"; const WORKER_THREAD_NAME: &'static str = "oss-worker"; const ASSIST_THREAD_NAME: &'static str = "oss-assist"; const ASSIST_AUTONOMOUS_ENV: &'static str = config::OSS_ASSIST_AUTONOMOUS_ENV; const ASSIST_STEP_REQUIRES_REQUEST_CYCLE: bool = true; } pub type HwWorker = super::hw_worker::HwWorker<OssBackend>;