Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 02:34
· 10 commits to main since this release

🦀 Rewritten in Rust

Mutelith v0.3.0 is a full rewrite of the C# app (v0.2.x) in Rust. It keeps the same ViewerEcho rule, install folder, startup entry and Programs and Features entry. The app is now a single native Mutelith.exe with no .NET runtime.

Existing v0.2.x installs (Mutelith.exe and Mutelith-native.exe) update to this release automatically.

⚡ Performance vs v0.2.4 (C#)

v0.3.0 Rust v0.2.4 C# (self-contained) v0.2.4 C# (-native)
Download size 2.7 MB, no runtime 148 MB 1.5 MB + .NET 8 Desktop Runtime
Memory (working set) ~15 MB ~58 MB ~57 MB
Private memory ~2.6 MB ~15.6 MB ~15.2 MB
Threads / handles 8 / ~250 13 / ~400 13 / ~370
CPU time, first 60 s (incl. startup) ~140 ms ~875 ms ~875 ms

About 4× less memory, about 6× less CPU time in the first minute, and about 98% smaller than the self-contained build.

Measured on one Windows 11 machine: one 60 s idle run per build with --dev and the update check off. Your numbers will vary.

✨ What's Changed

  • Event-driven monitoring. v0.2.4 checked every 2 s. Mutelith now reacts as soon as Windows reports a change: default device switched, device added or removed, a new audio session (e.g. a Discord screen share), or a muted Discord session unmuted. A check every 30 s is the safety net. If notifications cannot be registered, it falls back to checking every 2 s.
  • Original volume restored. On stop, Mutelith unmutes only the Discord sessions it muted and gives each one back the volume it had before. v0.2.4 set them to 100%.
  • Cleaner provider switch. When the default device switches to another provider, the old provider's mutes are undone first.
  • No fullscreen pause. v0.2.4 stopped checking while a fullscreen app was in front. Mutelith now keeps working during fullscreen games.
  • Resume from sleep. After the system resumes, Mutelith waits 3 s, undoes its mutes, re-registers notifications and starts over.
  • Graceful restart. A new instance asks the old one to close, so it can unmute Discord first. v0.2.4 killed the old process.
  • Tray. Version, Show Logs, GitHub, Check for Updates... (asks before installing) and Exit. Dark menu follows the Windows theme. The icon comes back if Explorer restarts.
  • Updates. Silent update check on startup, only for the installed copy (not in --dev).

Full Changelog: v0.2.4...v0.3.0