Skip to content

fix(devices): report the boom-mic mute state as microphone mute status - #604

Merged
Sapd merged 1 commit into
Sapd:masterfrom
ChrisLauinger77:feat/mic-mute-status-from-boom
Oct 22, 2026
Merged

Sapd merged 1 commit into
Sapd:masterfrom
ChrisLauinger77:feat/mic-mute-status-from-boom

Conversation

@ChrisLauinger77

Copy link
Copy Markdown
Contributor

Changes made

The Corsair Void family, the Corsair Wireless V2 headsets and both Audeze Maxwells already read whether the microphone is muted, but only as the MICROPHONE_UP flag inside BatteryResult, which neither the CLI output nor the C API passes on. CAP_MICROPHONE_MUTE_STATUS is the capability for exactly that state, so these devices now advertise it:

  • Audeze Maxwell / Maxwell 2: read KEY_MIC_MUTE directly; getBattery() reuses the new getter.
  • Corsair Wireless V2: sends the mic status request after the same handshake the battery query uses. The request moved into a helper both share.
  • Corsair Void family: has the flag only in the battery report, so the getter reads that.

The state then reaches mic_muted in the structured output, Headset::getMicMuteStatus() and hsc_get_mic_mute_status() without changing any struct. A pure query with -o json reads one more value on these devices. README device table regenerated with --readme-helper (only these four rows change).

Not tested on hardware: the decoding is the one getBattery() already used. Testing from owners of these headsets would be welcome.

Checklist

  • I adjusted the README (if needed)
  • For new features in HeadsetControl: I discussed it beforehand in Issues or Discussions and adhered to the wiki Not applicable: this is a fix and adds no new capability.

The Corsair Void family, the Corsair Wireless V2 headsets and both Audeze
Maxwells already read whether the microphone is muted, but only as the
MICROPHONE_UP flag inside BatteryResult, which neither the CLI output nor
the C API passes on. CAP_MICROPHONE_MUTE_STATUS is the capability for
exactly that state, so these devices now advertise it:

- Audeze Maxwell / Maxwell 2 read KEY_MIC_MUTE directly, and getBattery()
  reuses the new getter.
- Corsair Wireless V2 sends the mic status request after the same
  handshake the battery query uses; the request moved into a helper both
  share.
- Corsair Void family has the flag only in the battery report, so the
  getter reads that.

The state then reaches mic_muted in the structured output,
Headset::getMicMuteStatus() and hsc_get_mic_mute_status() without
changing any struct. A pure query with -o json reads one more value on
these devices. README device table regenerated.

Not tested on hardware: the decoding is the one getBattery() already
used.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 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-10-22T15:37:37.638618Z 6cb935b 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.

@github-actions github-actions Bot added the awaiting-maintainer The author replied or pushed - our move label Oct 22, 2026
@Sapd
Sapd merged commit 815ad73 into Sapd:master Oct 22, 2026
7 checks passed
@github-actions github-actions Bot removed the awaiting-maintainer The author replied or pushed - our move label Oct 22, 2026
@ChrisLauinger77
ChrisLauinger77 deleted the feat/mic-mute-status-from-boom branch October 22, 2026 19:40
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.

2 participants