Feat: UI/UX and ducking compressor
This commit is contained in:
@@ -64,6 +64,10 @@ pub struct DisplaySettings {
|
||||
pub load_demo_on_startup: bool,
|
||||
#[serde(default)]
|
||||
pub demo_index: usize,
|
||||
#[serde(default = "default_gain_boost")]
|
||||
pub gain_boost: f32,
|
||||
#[serde(default)]
|
||||
pub normalize_viz: bool,
|
||||
}
|
||||
|
||||
fn default_font() -> String {
|
||||
@@ -74,6 +78,10 @@ fn default_zoom() -> f32 {
|
||||
1.5
|
||||
}
|
||||
|
||||
fn default_gain_boost() -> f32 {
|
||||
1.0
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct LinkSettings {
|
||||
pub enabled: bool,
|
||||
@@ -114,6 +122,8 @@ impl Default for DisplaySettings {
|
||||
onboarding_dismissed: Vec::new(),
|
||||
load_demo_on_startup: true,
|
||||
demo_index: 0,
|
||||
gain_boost: 1.0,
|
||||
normalize_viz: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user