How oscard-06/fenn-volume_mixer works
Volume Mixer is a Windows Fenn plugin for controlling master and per-application audio. The user interacts through Fenn’s taskbar and notch surfaces; main.py handles host messages, delegates audio and preference changes to the mixer controller, and renders updated views. The controller builds mixer state from WASAPI, manages pins, filters and ducking, and supplies app icons to the views. The README documents additional surface behaviors not fully visible in the excerpts; those are represented at subsystem level. Some polling, persistence, and shutdown implementation details are unsampled, so edges are limited to visible or documented relationships.
Main entry points: main.py Event Orchestrator · fenn.py Fenn Plugin API · state.py Mixer Controller · views.py Surface View Builders
Components 11
Fenn Integration
- Fenn Plugin API
fenn.py - Event Orchestrator
main.py
Mixer Domain
- Mixer Controller
volume_mixer/state.py - Mixer Preferences
volume_mixer/state.py
Audio and Icons
- WASAPI Audio Backend
volume_mixer/wasapi.py - App Icon Cache
volume_mixer/app_icons.py
Mixer Surfaces
- Surface View Builders
volume_mixer/views.py - Taskbar Pill and Panels
volume_mixer/views.py - Notch Tiles and Page
volume_mixer/views.py
Other components
- User
- Windows Core Audio
Connections 14
- User → Fenn Plugin API: uses surfaces
README.md - Fenn Plugin API → Event Orchestrator: dispatches events
main.py - Event Orchestrator → Mixer Controller: handles controls
main.py - Event Orchestrator → Surface View Builders: builds views
main.py - Event Orchestrator → Fenn Plugin API: emits updates
main.py - Fenn Plugin API → Event Orchestrator: sends messages
fenn.py - Mixer Controller → WASAPI Audio Backend: reads and controls
volume_mixer/state.py - WASAPI Audio Backend → Windows Core Audio: calls Core Audio
README.md - Mixer Controller → App Icon Cache: gets app icons
volume_mixer/state.py - Mixer Controller → Mixer Preferences: loads and saves
README.md - Surface View Builders → Fenn Plugin API: creates UI nodes
volume_mixer/views.py - Surface View Builders → Taskbar Pill and Panels: renders surfaces
README.md - Surface View Builders → Notch Tiles and Page: renders surfaces
README.md - User → Event Orchestrator: adjusts mixer
README.md