reduce vu update frequency, report more sql errors, fix bug with startup show time
This commit is contained in:
@@ -148,6 +148,7 @@ pub async fn start_audio_input() -> (AudioInputControl, MicStream, TtsOutStream)
|
||||
|
||||
volume_sink.send_if_modified(|v| {
|
||||
let next_vu = meter.channel_vu(0).unwrap();
|
||||
let next_vu = (next_vu * 100.0).round() / 100.0;
|
||||
if *v != next_vu {
|
||||
*v = next_vu;
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user