Micswitch v2.0.1#4723
Conversation
- Persistent Mute toggle survives device cycles (USB replug, sleep/wake) - Persistent mute re-applied after SetDefaultEndpoint - Tray icon red-dot overlay updates after re-muting - Renamed from microswap to micswitch
…ecks - GetCurrentVolumePct/SetCurrentDeviceVolume: needsUninit pattern - CycleAudioDevice: guard all 3 CoUninitialize call sites - RestoreMuteExternal: guard CoInitialize before ApplyMute - WhTool_ModInit: guard CoInitialize before ApplyMute - Use RPC_E_CHANGED_MODE constant instead of S_FALSE
Submission reviewNote: This review was done by Claude, and then refined manually. Due to the amount of submissions, doing a fully manual review for each pull request is no longer feasible. Thank you for understanding. Please address the following issues. The items in the collapsed sections are optional, so it's your call whether to address them. Note: I haven't verified the review. Address it or let me know if it's not correct. The main new feature (Persistent Mute) has a state-tracking bug that leaves a microphone muted behind the user's back — please fix that before merge. Persistent-mute re-apply never moves the mute tracking to the new device — the active mic can stay muted after the mod is disabled. Both re-apply paths mute the new default endpoint with
Optional improvements
Minor polish — none of this affects users, so it's your call.
Functionality notes
Non-critical observations about the feature behavior itself.
|
Changelog
If this pull request updates an existing mod, describe the changes below:
Mod authorship
If this pull request introduces a new mod, please complete the section below.
This mod was created by:
Please select the options that best apply. Your selection does not affect the acceptance criteria, but it helps reviewers understand the context of the code and provide relevant feedback.