"Use Windows default" is now exclusive: it clears + locks out the specific cards

Ed: ticking "Use Windows default audio device" should uncheck the other cards and stop
them being ticked again until the default is turned back off - in both the app and the
service. This replaces the old optional "shall I untick the others?" prompt with a hard
rule.

Behaviour (all follower lists: app received-outputs, outputs-to-send and inputs-to-send;
service outputs):
- Ticking the follower unticks every specific card in that list.
- While the follower is on, trying to tick a specific card is refused (the ItemCheck is
  vetoed straight back to unticked) - you're either following the Windows default or
  picking cards, never both.
- Unticking the follower frees the cards again.
- Enforced on load too, so a hand-edited/legacy profile carrying both comes up clean.

Shared, not duplicated: the veto + clear + follower-checked helpers live in
AudioDefaultFollower and are used by MainForm and the service dialog alike.

Removed the now-obsolete soft prompt and everything that hung off it:
- MainForm.MaybeUntickOthersForDefault + ResetDefaultAudioDevicePrompt.
- The "Reset the default audio device prompt" Options item (and its Alt+O,R).
- AppConfig.UntickOthersWhenUsingDefaultOutput/Input.
- Manual + About-box references to the prompt / reset item; the manual now documents
  the exclusive rule and lists all three follower lists (the outputs-to-send follower
  had been undocumented).

Test: "Default follower exclusivity" self-test - follower on clears + locks specific
cards, follower off frees them, unticking and the follower entry itself are never
vetoed. Gate 45/45.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ednunp
2026-07-17 23:26:38 +01:00
co-authored by Claude Opus 4.8
parent 4a86a82ec8
commit 5fc1b5bd75
7 changed files with 118 additions and 107 deletions
+1 -8
View File
@@ -138,14 +138,7 @@ internal sealed class AboutDialog : Form
changes" entry at the top. Tick it and RemSound
uses whatever Windows is currently using, and
switches with it on its own: make a headset your
default and RemSound follows, no clicking. You
can still tick specific devices alongside it.
When you turn it on, RemSound offers to untick
the other devices so you use only the default;
if you hide that question with "Don't ask
again", Options → Reset the default audio device
prompt brings it back.
default and RemSound follows, no clicking.
RemSound v4.5