Repository navigation
fix(ios): vpio driver loop - #1317
Open
closetcaiman wants to merge 10 commits into
Open
closetcaiman wants to merge 10 commits into
closetcaiman wants to merge 10 commits into
Conversation
WPT non-regression comparisonPASS — no regressions · 0 improved section(s) · overall 3427 → 3427 (0) Unchanged sections (28)
Baseline: Workflow run · this comment is updated on every push. |
closetcaiman
changed the base branch from
main
to
fix/ios-recording-interrupted
September 24, 2026 17:02
closetcaiman
added this pull request to stack #1318
September 24, 2026 17:02
closetcaiman
force-pushed
the
fix/vpio-driver-loop
branch
from
October 12, 2026 12:45
945283b to
205b704
Compare
closetcaiman
force-pushed
the
fix/vpio-driver-loop
branch
from
October 14, 2026 14:25
205b704 to
4196362
Compare
SomePersonFromMars
removed this pull request from stack #1318
October 14, 2026 16:31
SomePersonFromMars
changed the base branch from
fix/ios-recording-interrupted
to
refactor/ios-interruption-policy
October 14, 2026 16:32
SomePersonFromMars
added this pull request to stack #1347
October 14, 2026 16:34
closetcaiman
marked this pull request as ready for review
October 16, 2026 21:54
closetcaiman
force-pushed
the
fix/vpio-driver-loop
branch
from
October 19, 2026 13:21
923ad4c to
07dad83
Compare
SomePersonFromMars
removed this pull request from stack #1347
October 19, 2026 13:47
SomePersonFromMars
changed the base branch from
refactor/ios-interruption-policy
to
fix/ios-recording-interrupted
October 19, 2026 13:47
SomePersonFromMars
added this pull request to stack #1353
October 19, 2026 13:47
mdydek
requested changes
Oct 20, 2026
mdydek
approved these changes
Oct 21, 2026
This branch has not been deployed
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.
Closes #
Introduced changes
Bugfixes:
iOSengine restart loop withiosVoiceProcessing: true. With voice processing (VPIO) on, starting a recorder madeAudioEnginerebuild itself indefinitely.RouteConfigurationChangeposted by engine when initiating VPIO (AudioEngine.prepare)render err: -1AudioContextthemainMixerwas created, but format was not adjusted to 48kHz required by the VPIO which violated the assumption ofsetVoiceProcessingEnabledand the engine stopped shortly after startingAVAudioIONode.setVoiceProcessingEnabled: "The output format of the input node and the input format of the output node have to be the same and they can only be changed when the engine is in a stopped state."Changes:
AVAudioEngineConfigurationChangeNotification. A stopped engine with a tracked graph is marked for rebuild on its next start.connectVoiceProcessingIOOutputsettleStateAfterFailedStart:Paused/Idle,Interruptedkept for the interruption-end and foreground-retry paths) instead of leavingRunningon a stopped engine.std::recursive_mutextostd::mutex.InputNotficationBlock- a workaround until the proper refactor, which then are invoked by the engine. Moving callbacks out of locks makes a possible ABBA deadlock impossible, so the previously introducedstd::recursive_mutexis not needed and was a smelly workaround hiding the bigger bug.Known issues:
Siri+allowBluetoothHFP-iOSnever sends our session an interruption end, and the foreground retry (fix(ios): recording resume after an interruption #1257) only runs after one, so recording stays stopped until the app restarts it.Checklist