Skip to content

Fix ios pcm bitrate - #157

Merged
riderodd merged 3 commits into
mainfrom
fix/ios-pcm-bitrate
Sep 12, 2025
Merged

Fix ios pcm bitrate#157
riderodd merged 3 commits into
mainfrom
fix/ios-pcm-bitrate

Conversation

@riderodd

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings September 12, 2025 14:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes iOS PCM bitrate compatibility issues by improving the audio buffer handling for the Vosk speech recognition module. The changes address crashes and format errors when starting recognition on iOS devices.

  • Enhanced iOS audio buffer format handling to support both int16 and float32 formats
  • Added better concurrency controls and error handling to prevent crashes on multiple starts
  • Improved audio session configuration and permission handling flow

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
package.json Version bump to 2.1.5 to reflect the iOS PCM bitrate fixes
ios/Vosk.mm Complete rewrite of audio handling with improved format support and concurrency controls
CHANGELOG.md Documents the iOS PCM bitrate fix and related improvements in version 2.1.5

Comment thread ios/Vosk.mm
Comment thread ios/Vosk.mm
@riderodd
riderodd merged commit 948534e into main Sep 12, 2025
8 checks passed
@riderodd
riderodd deleted the fix/ios-pcm-bitrate branch September 12, 2025 14:09
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