Skip to content

fix: recover unsupported audio input routes - #234

Closed
jatinkrmalik wants to merge 1 commit into
mainfrom
jmalik/fix-audio-input-route
Closed

fix: recover unsupported audio input routes#234
jatinkrmalik wants to merge 1 commit into
mainfrom
jmalik/fix-audio-input-route

Conversation

@jatinkrmalik

Copy link
Copy Markdown
Member

Summary

  • let AVAudioEngine bind input taps to the live hardware format so USB, Bluetooth, and virtual route changes cannot leave the tap using a stale format
  • convert each callback using the format of the buffer Core Audio actually delivered
  • stop and surface a microphone-route error when an engine starts but delivers no buffers for three seconds, preventing Test Dictation from remaining stuck

User report

This addresses the VocaMac 0.8.0 logs from Fraser showing repeated Input HW format and tap format not matching failures on EVO4 and oscillator routes, plus captures that started without receiving microphone audio.

Validation

  • swift test --filter AudioEngineTests|AppStateRecordingTests: 45 passed
  • swift test: 399 passed, 1 expected Accessibility-dependent skip
  • swift build -c release: passed

@github-actions github-actions Bot added app bug Something isn't working ci labels Aug 21, 2026
@jatinkrmalik

Copy link
Copy Markdown
Member Author

/build

@github-actions github-actions Bot removed the ci label Aug 21, 2026
@github-actions

Copy link
Copy Markdown

PR Build started for 110b1ac

Build signed & notarized DMG... this usually takes 10–20 minutes.

Watch the build →

@github-actions

Copy link
Copy Markdown

PR Build ready!

DMG VocaMac-0.8.0-pr.234+110b1ac-arm64.dmg
Size 28M
Branch jmalik/fix-audio-input-route
Commit 110b1ac
Signed ✅ Developer ID
Notarized ✅ Apple

📥 Install

  1. Click the DMG link above to download
  2. Open the DMG and drag VocaMac to Applications (replace existing)
  3. Open VocaMac — No Gatekeeper warnings, no permission resets
SHA-256 checksum
ff85064c6f8d54ea9a52c55205b43a89bb991b21b7b08af5f32b42fbb71ae9ea  VocaMac-0.8.0-pr.234+110b1ac-arm64.dmg

💡 Comment /build or /build-quick to rebuild.

@Mr-Sunglasses

Copy link
Copy Markdown
Member

This will be slate and can be close when #233 merged, cause it solves it.

@jatinkrmalik

Copy link
Copy Markdown
Member Author

Closing in favor of #233

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

Labels

app bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants