Skip to content

Commit

Permalink
Changed default Monitor values
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyCoolSlug committed Oct 12, 2024
1 parent fb52c2b commit 2bd8799
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions daemon/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3731,15 +3731,17 @@ impl<'a> Device<'a> {
}

let mix2_enabled = self.device_supports_mix2();

// The default value on the array needs be something that's not a valid channel number
let mut mix_a = if !mix2_enabled {
vec![0x0c; 4]
vec![0xFF; 4]
} else {
vec![0x0c; 5]
vec![0xFF; 5]
};
let mut mix_b = if !mix2_enabled {
vec![0x0c; 4]
vec![0xFF; 4]
} else {
vec![0x0c; 5]
vec![0xFF; 5]
};

let mut index = 0;
Expand Down

0 comments on commit 2bd8799

Please sign in to comment.