This commit is contained in:
@@ -83,6 +83,7 @@ pub struct AudioConfig {
|
||||
pub refresh_rate: RefreshRate,
|
||||
pub show_scope: bool,
|
||||
pub show_spectrum: bool,
|
||||
pub show_lissajous: bool,
|
||||
pub show_preview: bool,
|
||||
pub layout: MainLayout,
|
||||
}
|
||||
@@ -102,6 +103,7 @@ impl Default for AudioConfig {
|
||||
refresh_rate: RefreshRate::default(),
|
||||
show_scope: true,
|
||||
show_spectrum: true,
|
||||
show_lissajous: true,
|
||||
show_preview: true,
|
||||
layout: MainLayout::default(),
|
||||
}
|
||||
@@ -191,6 +193,7 @@ pub struct Metrics {
|
||||
pub cpu_load: f32,
|
||||
pub schedule_depth: usize,
|
||||
pub scope: [f32; 256],
|
||||
pub scope_right: [f32; 256],
|
||||
pub peak_left: f32,
|
||||
pub peak_right: f32,
|
||||
pub spectrum: [f32; 32],
|
||||
@@ -206,6 +209,7 @@ impl Default for Metrics {
|
||||
cpu_load: 0.0,
|
||||
schedule_depth: 0,
|
||||
scope: [0.0; 256],
|
||||
scope_right: [0.0; 256],
|
||||
peak_left: 0.0,
|
||||
peak_right: 0.0,
|
||||
spectrum: [0.0; 32],
|
||||
|
||||
Reference in New Issue
Block a user