Skip to content

Add editable microphone automation rules and device type detection - #36

Closed
Wolbyworld wants to merge 1 commit into
tobi:mainfrom
Wolbyworld:feature/microphone-automation
Closed

Add editable microphone automation rules and device type detection#36
Wolbyworld wants to merge 1 commit into
tobi:mainfrom
Wolbyworld:feature/microphone-automation

Conversation

@Wolbyworld

@Wolbyworld Wolbyworld commented Sep 5, 2026

Copy link
Copy Markdown

Superseded by two separate proposals:

The combined proposal below is retained for history.


Microphone selection currently follows one device order. This adds opt-in microphone rules so users can prefer device types and change those preferences when the laptop lid is open or closed.

  • Open a persistent Microphone automation… window from the menu bar. Reorder types, choose Always / Lid open / Lid closed / Never, and restore default rules.
  • Detect types from CoreAudio transport and input terminal metadata. Use limited, explained name hints for cameras and headsets; USB alone does not mean headset. Users can override each device or return it to Auto.
  • Save rules and UID-based overrides. Respect Custom mode, Ignore, Never Use, and existing device priority for ties. Rules default to off; output selection keeps its current behavior.
  • Give the device list a visible height on current macOS. This small prerequisite overlaps the layout fixes proposed in Fix menu popover collapsing on macOS 26 and sluggish drag-to-reorder #35 and Fix empty MenuBarExtra popover (device list was height 0) #33.

Validation:

  • sh Tests/run.sh: 52 classification, selection, normalization, and persistence checks passed.
  • ./build.sh: universal arm64/x86_64 Release build passed.
  • Native preview UI: settings window, three connected input classifications, rule reordering, lid-condition edits, and override-to-Auto persistence checked.
  • Independent code review of the fixed candidate found no blockers.

Physical microphone switching, lid transitions, reconnects, and audible input still need the hardware checks in Tests/UAT.md. Metadata does not establish a wireless dongle's physical headset link state. Name-based detection is a suggestion, and overrides can require reapplication if a driver changes the device UID.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-05T18:05:25.646743Z 1b32358 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant