Repository navigation
Require direct Core Audio and reduce first-PCM latency - #777
Merged
Merged
Conversation
7 of 12 tasks
Greptile SummaryThis PR makes direct Core Audio the sole dictation capture backend and reduces startup serialization before first PCM.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4ba7589564
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
grohith327
approved these changes
Aug 5, 2026
8 of 13 tasks
altic-dev
added a commit
that referenced
this pull request
Aug 5, 2026
* fix(audio): require direct Core Audio capture * perf(audio): skip idle engine retirement barriers * perf(audio): remove cold readiness actor hop * fix(audio): close readiness cancellation race * fix(audio): preserve pre-registration cancellation
altic-dev
added a commit
that referenced
this pull request
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Makes direct Core Audio the single dictation capture path and removes avoidable startup serialization. This keeps the crash/device-lifecycle protections from #749 while reducing hotkey-to-first-real-PCM latency without delaying or dropping opening audio.
Type of Change
Related Issue or Discussion
Depends on #749.
Testing
swiftlint --strict --config .swiftlint.yml Sourcesswiftformat --config .swiftformat SourcesMeasured the final installed commit over 10 fresh-launch recording starts: 88 ms median from ASR start to first real PCM, 78–94 ms range, 10/10 ready, 10/10 below 100 ms.
Private Fluid Intelligence app build and installation succeeded. The development build uses the local unverified bridge override because the private bridge manifest targets a different FluidVoice commit.
Screenshots / Video
Notes
B/audio-fix-1.6.7-basemirrors the exact tip of #749 because #749 originates from a fork and cannot be selected as a GitHub base branch. After #749 merges, retarget this PR tomainand remove the temporary base branch.Invariant: do not introduce an artificial recording delay or discard initial PCM; first-word capture latency is the primary UX constraint.