Trying to come up with the structure
Some checks failed
ci/woodpecker/push/code_tests Pipeline failed
ci/woodpecker/push/pre_commit_test Pipeline was successful

This commit is contained in:
Nikolai Rodionov
2025-12-01 14:35:28 +01:00
parent dcb6d7b0ea
commit af97801d31
10 changed files with 138 additions and 48 deletions

View File

@@ -0,0 +1,26 @@
use crate::audio_engine::AudioBackend;
pub(crate) struct JackAudioBackend {
pub(crate) name: String,
pub(crate) running: bool,
}
impl JackAudioBackend {
pub(crate) fn new(name: String, running: bool) -> Self {
Self { name, running }
}
}
impl AudioBackend for JackAudioBackend {
fn start_client(&self) {
todo!()
}
fn init_client(&self) {
todo!()
}
fn discover(&self) {
todo!()
}
}