From 7ab0fed6d3f254b8931257aadef8acf7a17f9c03 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Thu, 12 Oct 2023 16:53:35 +0900 Subject: [PATCH] main: Report when gains go back to nominal Signed-off-by: Hector Martin --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index a69ddd6..984ca7b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,6 +194,8 @@ fn main() { if gain != group.gain { if group.gain == 0. { warn!("Speaker group {} gain limited to {}", idx, gain); + } else if gain == 0. { + info!("Speaker group {} gain nominal", idx); } group.speakers.iter_mut().for_each(|s| s.update(&ctl, gain)); group.gain = gain;