Skip to content

Commit b5efc5c

Browse files
committed
clear audio wave when listening
1 parent d4a894e commit b5efc5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RustApp/src/ui/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ impl Application for AppState {
467467
if let Err(e) = self.audio_stream.as_ref().unwrap().stream.pause() {
468468
error!("{e}");
469469
}
470+
self.audio_wave.clear();
470471

471472
#[cfg(not(target_os = "linux"))]
472473
if let Some(system_tray) = self.system_tray.as_mut() {

0 commit comments

Comments
 (0)