diff --git a/src/device/mod.rs b/src/device/mod.rs new file mode 100644 index 0000000..343b72b --- /dev/null +++ b/src/device/mod.rs @@ -0,0 +1 @@ +pub mod virtual_device; \ No newline at end of file diff --git a/src/device/virtual_device.rs b/src/device/virtual_device.rs new file mode 100644 index 0000000..c46cc22 --- /dev/null +++ b/src/device/virtual_device.rs @@ -0,0 +1,13 @@ +pub struct VirtualDevice { + pub name: String, + pub id: String, + pub is_input: bool, + pub is_output: bool, + pub channels: u8, + pub sample_rate: u32, + pub buffer_size: usize, + output_index: Vec, + output_buffer: Vec>, +} + +impl VirtualDevice { } \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 9dc53fb..b49723a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,7 @@ mod args; mod config; mod commands; +mod device; use clap::Parser;