Skip to content

Fix overlay to always show latest transcription text#2

Open
leolovenet wants to merge 2 commits intoyetone:mainfrom
leolovenet:main
Open

Fix overlay to always show latest transcription text#2
leolovenet wants to merge 2 commits intoyetone:mainfrom
leolovenet:main

Conversation

@leolovenet
Copy link
Copy Markdown

Summary

  • Change label truncation from byTruncatingTail to byTruncatingHead so the most recent speech recognition results remain visible when text exceeds the capsule width.

Test plan

  • Start voice input and speak a long sentence that exceeds the overlay width
  • Verify the latest transcribed text is always visible (beginning truncated with ellipsis)

Recreate AVAudioEngine on each recording start to pick up the current
input device, validate audio format before installing tap, and observe
AVAudioEngineConfigurationChange to gracefully handle mid-recording
device switches instead of crashing.
Change label truncation from byTruncatingTail to byTruncatingHead so
the most recent speech recognition results remain visible when text
exceeds the capsule width.
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