Repository navigation
Description
Describe the bug
FluidVoice 1.6.5 build 16 can become completely unresponsive during audio-route recovery when I have a Shure MV7+ selected as the preferred microphone and AirPods Max connected.
This is a follow-up to #624 and #644. It appears different from the earlier AVAudioEngine deallocation deadlock: in this occurrence, the old engine was retired successfully, but the replacement engine then blocked while accessing AVAudioEngine.inputNode.
The application remained hung for approximately 3 minutes 32 seconds. Taking off my AirPods, which triggered another macOS audio-route change, caused it to recover without being force-quit.
Reproduction steps
I have only observed this exact hang once, so it may require a specific timing-dependent race and I do not yet have reliably repeatable steps.
The environment when it occurred was:
- A Shure MV7+ was connected directly to the Mac and selected as FluidVoice's preferred microphone.
- AirPods Max were connected and being used for audio output.
- I started a FluidVoice recording.
- FluidVoice reasserted the preferred Shure input, and macOS generated an audio-route change.
- FluidVoice entered active audio-route recovery and became completely unresponsive.
The application remained hung for approximately 3 minutes 32 seconds. Taking off my AirPods triggered another macOS audio-route change, after which FluidVoice recovered without being force-quit.
Expected behavior
FluidVoice should continue using the selected Shure microphone and remain responsive when AirPods connect, disconnect, or otherwise cause macOS to reconfigure the audio route.
If recovery is required, it should complete or fail without indefinitely blocking the application.
Actual behavior
FluidVoice became completely unresponsive while rebuilding its audio engine.
The application log stopped immediately after:
Forcing input node instantiation...
A 10-second process sample taken during the hang showed every sample of the active recovery thread blocked in:
ASRService.configureSession
-> AVAudioEngine.inputNode
-> AVAudioEngineImpl::UpdateInputNode
-> AVAudioIONodeImpl::GetInputFormat
-> AVAudioIOUnit::GetHWFormat
-> Core Audio property queries
The AVAudioEngine serial queue was simultaneously waiting in IOUnitConfigurationChanged.
After approximately 3 minutes 32 seconds, taking off the AirPods triggered another audio-route change. The blocked inputNode call then returned and FluidVoice recovered.
App Version
1.6.5 (build 16)
macOS Version
macOS 26.5.2 (25F84)
Architecture
Apple Silicon
Logs or crash report
I captured a live process sample and correlated FluidVoice/Core Audio logs while the application was hung.
Relevant timeline:
10:19:50.686 Preferred Shure microphone reasserted during recording start
10:19:50.821 Initial AVAudioEngine configuration completed
10:19:51.570 Route change detected while recording
10:19:52.005 Active route recovery began
10:19:52.011 Previous audio engine retired
10:19:52.030 Forcing input node instantiation...
[no progress for approximately 3 minutes 32 seconds]
10:23:23.606 Input node instantiated after AirPods removal
10:23:23.729 Audio-route recovery succeeded
The compatibility AVAudioEngine backend was active:
audio_backend kind=av_audio_engine_fallback reason=experimental_disabled
At the same time, Core Audio reported a transitional device with no input or output, an error setting the device on the I/O unit, inconsistent channel-layout information, and an invalid IOProcStreamUsage property size.
The attached sanitized diagnostics bundle contains the complete process sample, focused application logs, focused Core Audio logs, and a README with analysis.
Activity
satyanarayan95 commentedon Jul 26, 2026
Yes, I am also facing the same issue. In addition to this the media on the mac carshes. I mean if fluidvoice 1.6.5 is running and i am using airpods now i cant play any media be it youtube video or whatever. it plays frame by frame
davemac commentedon Jul 26, 2026
Yep same here, it's similar to my other issue - which I am still seeing even though the issue has been closed.
altic-dev commentedon Jul 28, 2026
Hey @dain / @davemac thanks for reporting your issues. Sorry you're facing this. Can you try the temporary work around of enabling "Faster recording start" in settings and let me know if you still run into the same issues (check screenshot below for ref), the new CoreAudio flow should likely reduce the chance of a hang.
altic-dev commentedon Jul 28, 2026
@satyanarayan95 I believe what you are facing is something else, can you open a separate issue with more details if possible ?
grohith327 commentedon Jul 28, 2026
@satyanarayan95 You might find some luck, if you change your input microphone to you macbook when airpods is connected. Airpods sometimes can go into "call mode" for bi-directional audio and this can result in muffled audio and lower quality
adivardhan1000 commentedon Jul 29, 2026
Default settings interferes with any media playback. I was seeing this bug where if I play something on spotify with earphones and system default audio settings - the macos volume would keep going up and down and audio break every half a second making it in-audible.
This fix works for me. I can keep the app running in background.
dain commentedon Jul 29, 2026
@altic-dev Thanks. I checked the stored settings and logs, and I need to clarify my earlier report: neither of the two captured failures occurred while Faster Recording Start was actually active.
Faster Recording Start was automatically disabled
I had enabled Faster Recording Start, but FluidVoice later disabled it automatically after three direct-capture duration mismatches:
Immediately after the third mismatch, subsequent recordings began reporting:
The current persisted values are:
I did not realize the setting had been disabled. I may have missed the transient “Faster Recording Start turned off” notification, but there was no persistent indication that the workaround was no longer active.
Therefore, I cannot currently say whether either failure reproduces with the direct Core Audio path genuinely enabled. I can turn it back on—which should reset the failure counter—and test that separately.
Original #709 hang
The original occurrence was on FluidVoice 1.6.5 build 16 using the AVAudioEngine compatibility backend.
FluidVoice completed retirement of the old engine, then blocked for approximately 3 minutes 32 seconds while creating the replacement engine:
Taking off my AirPods generated another hardware-route change, after which the blocked call returned and FluidVoice recovered.
New failure: self-triggered route-recovery loop
I have now observed a related but non-blocking failure on the same AVAudioEngine compatibility backend.
While I held the dictation key, the macOS microphone indicator repeatedly appeared and disappeared, FluidVoice captured no usable audio, and the audio buffer remained at exactly 1,600 samples.
The application and Core Audio logs show this sequence:
The timestamp correlation is particularly clear:
During the first recording there were 11 route-change notifications and 10 completed recoveries in approximately seven seconds. The recording produced no text.
After relaunching FluidVoice, the first recording produced another 13 consecutive recovery cycles in approximately eight seconds and again produced no text. A later attempt reused an engine that was already configured for the Shure and worked normally.
This resembles #694, but this occurrence happened during an active dictation with a manually selected Shure MV7+ and AirPods Max as the default output.
Likely interaction
This appears to involve two interacting failure modes:
The recovery loop appears consistent with the current implementation:
handleEngineConfigurationChangedschedules recovery for every configuration notification from the current engine, while a notification received during recovery becomes another pending recovery generation.Potential areas to investigate would be suppressing expected configuration notifications caused by FluidVoice’s own device binding/rebuild, checking whether the bound device or format is actually invalid before rebuilding, and adding a circuit breaker for repeated successful recoveries that produce no additional audio.
I can provide a sanitized excerpt of the newer FluidVoice and Core Audio logs if useful. The existing ZIP attached to this issue covers the original three-minute hang, not this newer recovery loop.
grohith327 commentedon Jul 30, 2026
Yeah, AVAudioEngine has been a pain and its been fixing one issue after another. I have a PR out #732 and this is a dmg from it. Would live it if one of you @dain / @davemac / @adivardhan1000 can take it for a spin, give me some feedback. I have enabled the core audio flow by default, i.e. the "Faster recording start" option. Thank you folks, appreciate your feedback and support.
dmg link
dain commentedon Jul 30, 2026
Thanks! The linked DMG appears to contain an older build: it reports FluidVoice 1.6.4 build 15 and was signed on July 14, before the PR #732 commits.
I built PR #732 locally from the current head (
250f8bf) and have started testing it. My first recording with the Shure MV7+ worked correctly using the new direct Core Audio path, with no dropped packets, fallback, duration mismatch, or recovery loop. I’ll continue testing it with AirPods connect/disconnect cycles and report back if I encounter any problems.grohith327 commentedon Jul 31, 2026
Awesome, thanks for trying it out @dain
grohith327 commentedon Jul 31, 2026
We just released a new version 1.6.6 which includes the changes from the PR. Please try it out and let us know if the issue persists
@dain @satyanarayan95 @davemac @adivardhan1000
dain commentedon Aug 1, 2026
@grohith327 I used this all day today and had no issues.
grohith327 commentedon Aug 1, 2026
Thanks for reporting back @dain please let us know if you continue to face any other issues 🫡