Trying to come up with the structure
This commit is contained in:
26
engine/src/audio_engine/jack_ab.rs
Normal file
26
engine/src/audio_engine/jack_ab.rs
Normal 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!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user