Skip to content

Add microphone mute control - #101

Merged
pranc1ngpegasus merged 1 commit into
mainfrom
agent/add-microphone-mute
Jul 28, 2026
Merged

Add microphone mute control#101
pranc1ngpegasus merged 1 commit into
mainfrom
agent/add-microphone-mute

Conversation

@pranc1ngpegasus

Copy link
Copy Markdown
Member

What changed

  • add a Mute mic / Unmute mic control while a recording is active
  • route mute commands through the desktop session worker to the native audio session
  • replace microphone input with silence while muted so system audio continues and both timelines stay aligned
  • expose the mute operation through the Swift C ABI and safe Rust wrapper
  • show the muted state in the recording status bar
  • suppress microphone recognition results in the Windows preview backend

Why

Users need to temporarily exclude their microphone from a recording without stopping the session or interrupting system-audio capture and transcription.

Impact

During an active recording, users can mute and unmute the microphone. Muted intervals remain as silence in mic.ogg, preserving synchronization with system.ogg; microphone speech from those intervals is not transcribed.

Validation

  • cargo test -p wisp-audiokit --all-targets
  • cargo clippy -p wisp-audiokit --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check
  • clean swift build --scratch-path /tmp/wisp-audiokit-mute-build

cargo check --workspace --all-targets reached the desktop GPUI dependency but could not complete because this machine does not have the Metal compiler (xcrun: unable to find utility "metal"). swift test is also unavailable in the installed Command Line Tools because the XCTest module is missing; the Swift package itself builds successfully.

@pranc1ngpegasus
pranc1ngpegasus marked this pull request as ready for review July 28, 2026 04:22
@pranc1ngpegasus
pranc1ngpegasus merged commit b815c3a into main Jul 28, 2026
5 checks passed
@pranc1ngpegasus
pranc1ngpegasus deleted the agent/add-microphone-mute branch July 28, 2026 04:22
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