"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
+2 -4
View File
@@ -315,7 +315,6 @@ ul, ol { padding-left: 1.4em; }
<tr><td><strong>Keyboard shortcuts&hellip;</strong></td><td>Ctrl+K, or Alt+O, K</td><td>Opens the global hotkey dialog (mute, volume, show/hide window, start/stop recording, remote-control commands, speak the status line).</td></tr>
<tr><td><strong>Profile passwords&hellip;</strong></td><td>Alt+O, W</td><td>Lists every profile alongside its password, so you can view or change any of them in one place.</td></tr>
<tr><td><strong>Manage named peers&hellip;</strong></td><td>Alt+O, N</td><td>Opens a list of every peer you've given a friendly name to, showing each one's machine name and where and when you last connected to it. Pick one and <strong>Rename (Alt+R</strong>, or F2) to change its name, or <strong>Delete (Alt+D</strong>, or the Del key) to forget it &mdash; deleting only drops the name, the peer still connects as normal under its machine name. See <a href="#tab-connectivity">the peer-naming notes on the Connectivity tab</a>.</td></tr>
<tr><td><strong>Reset the default audio device prompt</strong></td><td>Alt+O, R</td><td>Brings back the &ldquo;use only the default audio device?&rdquo; question if you previously ticked &ldquo;Don't ask me this again&rdquo; on it. See <a href="#tab-io">Following the Windows default audio device</a>.</td></tr>
<tr><td><strong>Enable / Disable Realtek ASIO</strong></td><td>&mdash;</td><td>Only shown if a Realtek ASIO driver is installed. Lets you reverse the choice RemSound offered about disabling that driver (Realtek's generic ASIO driver tends to grab the wrong device and clash with your screen reader).</td></tr>
<tr><td><strong>Install RemSound on this PC&hellip;</strong> (or <strong>Uninstall&hellip;</strong>)</td><td>Alt+O, I (Alt+O, U once installed)</td><td>Turns the copy you're running into a properly installed Windows app &mdash; on the Start menu, with a desktop shortcut, and listed in Windows&rsquo; Installed apps &mdash; or removes it again. Once it's installed, this item changes to <strong>Uninstall RemSound from this PC</strong>. See <a href="#install">Installing RemSound on your PC</a>.</td></tr>
<tr><td><strong>Preferences&hellip;</strong></td><td>Ctrl+P, or Alt+O, P</td><td>Opens the Preferences dialog, organised into six tabs (move between them with Ctrl+Tab, or the arrow keys when the tab names have focus): <strong>General</strong> &mdash; the profiles folder, accept remote volume commands, UPnP router opening, and two buttons to clear the shared address books: <strong>Clear remembered peers list (Alt+P)</strong> and <strong>Clear remembered applications list (Alt+L)</strong> (each asks you to confirm first; these lists are shared across all your profiles, so clearing empties them everywhere); <strong>Appearance</strong> &mdash; <strong>Colour theme (Alt+T)</strong> (Match Windows / Light / Dark; changes only how the window looks, takes effect next launch, no effect on the screen reader), &ldquo;Show the volume, pan and EQ for peers tab&rdquo; (on by default; hides the <a href="#pan-eq">Volume, pan and EQ for peers tab</a> if you untick it), <strong>Tab order (Alt+O)</strong> &mdash; a list of the window's tabs with <strong>Move up (Alt+U)</strong> and <strong>Move down (Alt+N)</strong> buttons to reorder them, and two toggles to <strong>enable the Discovered (Alt+D)</strong> and <strong>Remembered (Alt+R)</strong> peer lists on the Connectivity tab (both on by default &mdash; untick one to hide that list); <strong>Audio cues</strong> &mdash; the cue list and its sounds (see <a href="#audio-cues">Audio cue sounds</a>); <strong>Startup behaviour</strong> &mdash; start minimised / with Windows / with a specific profile; <strong>Update settings</strong> &mdash; the update checks and install options; and <strong>Logging</strong> &mdash; enable logs, write logs now, and the log-folder housekeeping (see <a href="#logs">Logs and diagnostics</a>). Esc or the Close button dismisses it.</td></tr>
@@ -413,9 +412,9 @@ ul, ol { padding-left: 1.4em; }
<h3>Following the Windows default audio device</h3>
<p>At the very top of the <strong>WASAPI outputs for received audio</strong> list and the <strong>WASAPI audio inputs to send</strong> list there's a special entry: <strong>Use Windows default audio device, follows Windows changes</strong>. Tick it and RemSound uses whatever Windows currently treats as the default &mdash; the default speakers for received sound, the default microphone for sending &mdash; and, the useful part, it <strong>follows that default on its own</strong>. Make a headset your default and RemSound switches to it; unplug it and RemSound moves back, all without you touching the list.</p>
<p>At the very top of the <strong>WASAPI outputs for received audio</strong> list, the <strong>WASAPI audio outputs to send</strong> list and the <strong>WASAPI audio inputs to send</strong> list there's a special entry: <strong>Use Windows default audio device, follows Windows changes</strong>. Tick it and RemSound uses whatever Windows currently treats as the default &mdash; the default speakers for received sound, the default output for what you send, the default microphone for input &mdash; and, the useful part, it <strong>follows that default on its own</strong>. Make a headset your default and RemSound switches to it; unplug it and RemSound moves back, all without you touching the list.</p>
<p>It works alongside the specific devices: tick the default entry <em>and</em> particular cards, and the sound plays out of (or is captured from) all of them at once. When you first tick it, RemSound asks whether you'd like to untick the other devices in that list, so you can choose to use only the default &mdash; with a &ldquo;Don't ask me this again&rdquo; option. If you tick that and later want the question back, use <strong>Options &rarr; Reset the default audio device prompt</strong>.</p>
<p>Ticking it is <strong>exclusive</strong>: RemSound unticks every specific card in that list and locks them so they can't be re-ticked while the default entry is on. That keeps things unambiguous &mdash; in each list you're either following the Windows default or picking specific cards, never a mix. Untick the default entry and the specific cards become available again.</p>
<p>Unlike the specific device ticks (which start fresh each session), the &ldquo;use default audio device&rdquo; choice is remembered between launches. It's safe to remember because it can never point at the wrong card &mdash; it always resolves to whatever Windows is using right now.</p>
@@ -945,7 +944,6 @@ Audient USB Audio ASIO Driver &mdash; Pair 3 (channels 5/6): Loop-back 1 (L) / L
<tr><td>Alt+O, K</td><td>Keyboard shortcuts</td></tr>
<tr><td>Alt+O, W</td><td>Profile passwords</td></tr>
<tr><td>Alt+O, N</td><td>Manage named peers</td></tr>
<tr><td>Alt+O, R</td><td>Reset the default audio device prompt</td></tr>
<tr><td>Alt+O, P</td><td>Preferences</td></tr>
<tr><td>Alt+F, X</td><td>Exit</td></tr>
</table>