Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrafficMonitor Mic Status Plugin

A TrafficMonitor plugin that shows microphone mute status in the taskbar.

⚠️ This code was generated by AI (Claude).

Features

  • Shows a microphone icon on the taskbar via TrafficMonitor
  • Green icon = mic active, Red icon with slash = mic muted
  • Only visible when an application is actively using the microphone
  • Left-click to toggle mute
  • Auto-hides when no app is using the mic

Screenshot

🟢 MIC  — Mic active, app recording
🔴 MUT  — Mic muted, app recording
(nothing) — No app using mic

Build

Requires Visual Studio Build Tools with C++ and Windows SDK.

build.ps1

Or manually:

call "C:\Program Files (x86)\Microsoft Visual Studio\...\vcvars64.bat"
cl.exe /LD /MT /EHsc /O2 /utf-8 MicStatusPlugin.cpp /link /OUT:MicStatus.dll

Install

  1. Copy MicStatus.dll to TrafficMonitor's plugins/ directory
  2. Restart TrafficMonitor
  3. Enable the plugin via context menu → Other Functions → Plugin Management
  4. Make sure "Mic Status" is checked in the display settings

How It Works

  • Uses Windows Core Audio API to detect:
    • Active capture sessions (apps using the mic)
    • Microphone mute state
  • Polled every second via DataRequired() callback
  • Custom-draws a microphone icon using GDI

About

TrafficMonitor plugin: show microphone mute status in taskbar (generated by AI)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages