Repository navigation
Description
Switching conversations with Audio visualizer enabled repeatedly prevents voice input from starting in Codex and in third-party input methods on macOS.
Codex App version and platform
- Codex desktop app version
26.901.41123, build7942(from the installed app's Info.plist; bundle identifiercom.openai.codex). - macOS
15.7.2, Apple Silicon / arm64, MacBook Air. - Default input: built-in MacBook Air microphone, mono, 48 kHz.
Steps to reproduce and observed behavior
- With Audio visualizer enabled, switch between Codex conversations/tasks.
- Try voice input. Codex voice input and the WeChat and Doubao input methods can become unable to start recording, including outside Codex. The input-method UI stays at
准备录音中(Preparing to record). - Terminate only the app's
system-audio-spectrumhelper, leaving Codex andcoreaudiodrunning. Voice input recovered during testing. - Switch conversations again. A new
system-audio-spectrumprocess appeared and voice input failed again. This sequence was observed more than once. - Disable Settings → General → Toys → Audio visualizer. The user then reported that voice input continued working when switching conversations during the subsequent test.
Troubleshooting and limits of the evidence
- Restarting
coreaudiodtemporarily restored voice input, but the problem returned while the visualizer remained enabled. - iFlyrec and Oray virtual audio components were temporarily removed from the HAL directory and the audio service restarted. The problem still recurred on conversation switching. After disabling the visualizer, those components were restored and reloaded; voice input remained functional during the subsequent test. Their removal is therefore not required for the observed workaround.
- Earlier system logs included
HALS_IOContext_Legacy_Impl::StartIOThread: got an error from starting the IO thread, Error: 0x3CandInitialize failed - thread hasBeenStopped: 1 and shouldExit: 1. These errors were not consistently present on later reproductions and do not establish the root cause. - Core Audio snapshots did not report an exclusive/hog owner for the audio devices. We have not established that the helper exclusively locks the microphone or identified the exact underlying audio-session failure.
The main additional finding is that conversation switching appears to retrigger the issue and it can affect third-party voice input system-wide, not just Codex Dictation. Disabling Audio visualizer is the working workaround in this environment so far.
No private conversations, recordings, account details, or full logs are included.
Expected behavior
Switching Codex conversations should not interrupt or prevent microphone recording in Codex or other applications. Audio visualizer should coexist with voice input and release its capture resources correctly.
Subscription
Not provided.
Related issue
Related to #42229. This report documents conversation switching as a repeated trigger, effects on third-party input methods, and a different app/macOS version.
Activity
github-actions commentedon Sep 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
duroey commentedon Sep 6, 2026
I can confirm a similar issue on macOS 26.6.2 with ChatGPT/Codex desktop 26.901.41600 (build 7982).
With Audio visualizer enabled, other voice input methods intermittently take tens of seconds or several minutes to start recording. This also happens with the built-in microphone, so it is not limited to an external device.
Diagnostics captured CoreAudio waiting in
StartTapOutput(), with repeated roughly 14-second startup failures. After disabling Settings → General → Toys → Audio visualizer, voice input recovered; a subsequent microphone startup took about 48 ms instead of minutes.This strongly implicates the visualizer's interaction with CoreAudio, although the exact underlying defect remains unconfirmed. A decorative audio feature should not block microphone recording in other applications; please investigate its audio-resource lifecycle and fail-safe cleanup.
musterkill007 commentedon Sep 9, 2026
Confirmed on ChatGPT/Codex desktop 26.901.51231, macOS 26.6.2 (25G83), using the built-in MacBook Air microphone.
Working workaround: turn off Settings → General → Toys → Audio visualizer. After disabling it, dictation worked again in my immediate test. Long-term recurrence has not yet been tested.
Observed during troubleshooting:
coreaudiodtemporarily allowed two consecutive successful transcriptions, but switching conversations brought the failure back.system-audio-spectrum, while leaving the desktop app andcoreaudiodrunning, restored dictation in the current conversation. After switching conversations, a new helper process appeared and dictation failed again.Two failure sequences in the local system logs showed the helper requesting system audio capture and a CoreAudio MultiTap device being registered before microphone startup subsequently failed. Repeated failures took approximately 14 seconds and included:
The first successful recording also had a normal
StopIOand cleanup record, so the evidence does not establish that dictation simply never released the microphone. The stop-helper/relaunch behavior strongly implicates the visualizer's interaction with audio capture, but the exact defect remains unconfirmed. Closing only the helper is temporary because it can be launched again; disabling the setting is the effective workaround observed here.SiavashShams commentedon Sep 10, 2026
I reproduced this on ChatGPT/Codex 26.903.61454 (build 8378), macOS 26.6.2, using the built-in microphone. I found a specific configuration worth testing in the native visualizer helper.
The shipped
SystemAudioSpectrum.start()creates a private aggregate withkAudioAggregateDeviceTapAutoStartKey = true, then callsAudioDeviceStart. Apple's SDK says a nonzero value makes that start wait until a tapped process receives its first audio.That matches the timing I captured: microphone initialization began immediately, but hardware I/O started about 12.3 seconds later, just after speaker output and the visualizer tap became active. In a later stall, a process sample caught Codex's audio service blocked in
AudioDeviceStart/HALB_IOThread::StartAndWaitForState, alongside repeated CoreAudioStartIOThreaderrors (0x3C). After stopping onlysystem-audio-spectrum, microphone startup completed on the next retry. I did not restart Codex or coreaudiod for that intervention.Could you test setting
kAudioAggregateDeviceTapAutoStartKeytofalsein the native helper? This would remove the documented wait for playback. It is a proposed fix, not yet a validated hardware A/B result. Please test starting in silence, starting playback later, switching conversations, and recording from another app. The existing stop routine already includes IO stop, IOProc destruction, aggregate destruction, and tap destruction, so I would not describe this as simply missing cleanup.I prepared a source-level diff and confirmed that the configuration typechecks, but I couldn't prepare an upstream implementation PR because the native desktop source is not in the public repository. Happy to provide the small diff if useful. Related: #42229.
myfunc commentedon Sep 15, 2026
Sometimes, in some chats in Codex, I noticed that voice doesn't work and my mic cannot be initialized. When I press the mic icon, it loads for about 15 seconds, then looks like it started, but the mic doesn't respond.
I also have Wispr Flow. When this bug is reproduced in Codex, the same bug happens with Wispr Flow on that very page: my mic doesn't work there either. So Codex takes exclusive control of my mic.
I realized the CLI is different under the hood, and the harness itself is not covering this case. Just FYI, guys.
Details
The statements about exclusive microphone ownership and different CLI versions above describe my interpretation of the symptoms. They are not established root causes; the diagnostic findings below qualify them.
Observed sequence
This happened intermittently over the last week. One older task repeatedly showed the problem, while newly opened chats did not show it in my observations. Starting Voice could also make the UI appear hung.
This is the observed sequence, not a deterministic minimal reproducer. It has not been established whether Wispr Flow also fails outside Codex during this incident.
Environment
26.908.70816, build9275(installed application bundle metadata).26.3(25D125), Apple Silicon.1.6.827.0.154.0-alpha.6.2.Diagnostics
This closely matches #42998 and #44596. A further check of the macOS unified log found eight distinct
system-audio-spectrumPIDs during the incident window, identified ascom.openai.codex.system-audio-spectrum. For example, helper initialization was logged at 09:17:55 and 09:23:37 PDT, followed by microphone-start errors at 09:18:10 and 09:23:52. This is correlation, not a controlled causal test.Local diagnostics on September 15 found repeated CoreAudio microphone-start failures approximately 14 seconds apart:
The corresponding microphone-start / audio power-assertion records identified a process verified through its command line as Codex's
audio.mojom.AudioServiceutility. This establishes involvement of Codex's audio service, not an exclusive/hog lock or the precise cause of the startup failure.Only that verified audio-service subprocess was terminated with SIGTERM. The desktop app automatically recreated it, while the main app and app-server remained running. No matching CoreAudio errors appeared during the following approximately 100-second observation window. Successful Voice and Wispr transcription after this intervention has not yet been confirmed, so this is not a validated fix.
The older task's creation metadata records CLI
0.153.4; a new task records0.154.0-alpha.6.2. The old task was successfully resumed by the current desktop app using its shared bundled app-server. The metadata difference therefore does not establish that each chat runs a separate old/new executable. No causal link between CLI version metadata and microphone failure was found.The Audio visualizer setting itself was not inspected, and disabling it has not yet been tested in this setup. The helper was absent from a later process snapshot, but the historical log confirms it was running during the incident. A shared root cause remains unconfirmed.
Please investigate why microphone startup can stall in particular existing conversations and affect third-party dictation, and ensure a failed startup releases audio resources and leaves a recoverable UI.
No recordings, private conversation content, task IDs, account details, or full logs are attached.
ivanxia1988 commentedon Sep 16, 2026
I can reproduce this on macOS 26.6.2 (25G83), Apple Silicon, with Codex desktop 26.908.70816 (build 9275).
Reproduction observed
sudo killall coreaudiod.The Codex
system-audio-spectrumhelper is currently running in this environment, which is consistent with the suspected Audio visualizer interaction described in this issue. I have not yet performed a controlled A/B test with Audio visualizer disabled, so I am reporting that as correlation rather than a confirmed cause.The conversation content, recordings, task ID, account details, and full logs are not included.
This looks like a conversation-specific trigger in Codex that can leave Core Audio input unusable for the whole system until
coreaudiodis restarted.arthurbnhm commentedon Sep 16, 2026
Additional reproduction: disabling Audio visualizer was followed by recovery of microphone startup in Monologue, without restarting Core Audio.
Environment: Codex 26.908.70816, macOS 26.6 (25G72), Monologue 1.5.0, built-in MacBook Pro microphone at 48 kHz.
Microphone activation intermittently stalls in both Codex and Monologue. Restarting
coreaudiodprovided only temporary relief; the issue returned the next morning.During the recurrence, the Codex
system-audio-spectrumhelper was present. Local logs showed three consecutive microphone-start failures in Monologue, approximately 14 seconds per attempt, with:After disabling Settings → General → Toys → Audio visualizer:
system-audio-spectrumhelper was no longer running.coreaudiodretained the same PID. No application restart, driver removal, or microphone-permission reset was performed during this comparison.This strongly supports the visualizer as a trigger in this environment, including effects on third-party dictation. It does not establish the underlying locking/session mechanism. A controlled re-enable test and long-term stability have not been verified, and task switching was not independently confirmed as the trigger here. The measured successful post-change starts were in Monologue.
ZenAlexa commentedon Sep 21, 2026
Exactly the same.
Disabling Audio visualizer is the only solution to me.
Audio: route around a microphone wedged inside Core Audio
jellybebra commentedon Sep 28, 2026
Confirmed on ChatGPT/Codex desktop 26.924.22138 (build 11645), macOS 26.6.2 (25G83), Apple Silicon, using the built-in microphone at 44.1 kHz.
Dictation intermittently stalls at startup in both the desktop app and ChatGPT in Chrome. Restarting
coreaudiodhelped temporarily, but the failure returned with Audio visualizer enabled.Evidence captured during the stall
A CoreAudio process sample caught two
BuiltInMicrophoneDevicethreads waiting in:A tap wait thread was blocked in
WaitForTapStart/BlockStartOnTapStart. The unified log and TCC records associate this tap with the desktop app'ssystem-audio-spectrumhelper.Microphone startup attempts from both the desktop app and Chrome failed after approximately 14 seconds with:
When the helper's tap was unregistered, both recording clients started approximately 95 ms later, without a CoreAudio restart.
Verified workaround
After disabling Settings → General → Toys → Audio visualizer:
system-audio-spectrumstopped.coreaudiodretained the same PID throughout this comparison.This was a one-way disable test; re-enabling and long-term stability were not tested. Conversation switching was not independently confirmed as the trigger here. The evidence implicates the visualizer's interaction with CoreAudio tap startup, but does not establish the exact implementation defect.
Please include microphone startup in other applications, including Chrome, in regression testing for Audio visualizer.
Pakyu commentedon Oct 7, 2026
Additional reproduction on ChatGPT/Codex desktop 26.930.61225 (build 13232), macOS 26.6.2 (25G83), Apple Silicon, with WeChat Input / WeType 2.2.3 (657) and a Hollyland USB Wireless Microphone (system default input, 48 kHz, 2 input channels).
Reproduction and user-visible impact
The failure initially appeared specific to particular conversations, but later testing showed the broader foreground/reopen trigger above. This is not evidence of a permanent per-conversation incompatibility.
Controlled component comparison
audio.mojom.AudioServicesubprocess twice caused it to be recreated, but did not resolve the current failure. The application log confirmed both exits.system-audio-spectrumhelper was running.system-audio-spectrum, leaving the Codex main process, WeType, andcoreaudiodrunning.coreaudiod, remove audio drivers, reset microphone permissions, or modify the signed app.Sanitized error excerpts from the failure window:
Evidence boundaries
The component-stop comparison and successful workaround strongly implicate the visualizer's system-audio capture path in this environment. We have not established the exact implementation defect or whether the interaction is in the helper, CoreAudio, or USB-device handling. A device snapshot did not report a hardware exclusive/hog owner. Process samples taken later did not establish a blocked capture stack. Controlled re-enabling and long-term stability have not been tested.
Please include third-party input-method recording with USB microphones, app reopen without starting Voice, and foreground/background transitions in regression testing. An optional decorative audio feature should not prevent microphone startup in other software.
No recordings, private conversation content, account/session identifiers, filesystem paths, device identifiers, or complete raw logs are included.
xkyball commentedon Oct 23, 2026
Independent confirmation: system-wide built-in microphone input failure; resolved so far by disabling Audio visualizer (October 23, 2026)
Reporting a separate occurrence on a MacBook Pro with the built-in microphone, during heavy use of ChatGPT/Codex desktop speech-to-text dictation.
Observed with Audio visualizer enabled:
sudo killall coreaudiodrestored the microphone temporarily. The time until the next failure varied, and this workaround had to be repeated.After disabling Audio visualizer: The user continued their usual intensive transcription workflow and reported no further microphone failures as of October 23, 2026, unlike the frequent failures beforehand. No special changes to the recording workflow were required.
This is an observational one-way disable test, not a controlled disable/re-enable comparison. The exact app/macOS builds, CoreAudio failure logs, duration/number of recording cycles after the change, and underlying defect have not been independently verified. It is therefore evidence for Audio visualizer as a likely trigger, not proof of the specific CoreAudio mechanism or a universal fix.
Practical workaround for affected users: ChatGPT/Codex desktop → Settings → General → Toys → turn off Audio visualizer. If the microphone is already stuck, restarting
coreaudiodmay still be needed to restore it immediately.This independently corroborates the cross-application failure and temporary
coreaudiodrecovery described here and complements #44596. No recordings, private chat contents, personal identifiers, or raw logs are shared.joshmouch commentedon Nov 6, 2026
Additional occurrence on ChatGPT/Codex Desktop 26.1027.61615 (build 24141), macOS 26.6.2 (25G83) on an Apple Silicon MacBook Pro, with Wispr Flow 1.6.1400 and the built-in microphone (48 kHz).
Wispr Flow intermittently captured zero audio. During one failure, the built-in microphone was still selected in System Settings → Sound → Input, but the system input meter stayed flat while speaking. Switching to another input and back, then adjusting input gain, restored capture. The two actions were performed together, so their effects are unknown individually.
A CoreAudio trace from one occurrence showed the Codex
system-audio-spectrumhelper exiting and its temporary capture device being deactivated. About 264 ms after deactivation, Wispr Flow loggedAudioObjectGetPropertyData: no object with given ID 216. Flow then recorded ano_audioattempt. Two other silent attempts were logged within about nine seconds after a spectrum-helper exit. The trace does not identify the missing object as the helper’s device, and the timing alone does not establish causation.I later stopped just the visualizer helper while ChatGPT, Wispr Flow, and
coreaudiodcontinued running. Flow logged a successful built-in-mic dictation, and Audio visualizer was then disabled in Settings. The helper stayed absent at the next check. The controlled stop did not reproduce the fault, and the follow-up was too short to assess recurrence.Please include third-party dictation and the macOS input meter when testing visualizer capture teardown on this build.
skylar-deepmind commentedon Nov 8, 2026
Reproduced with Typeless 2.10.0 on an M4 Mac mini running macOS 15.6.1, with desktop app 26.1103.41825 (build 25679) and a 3.5 mm headset mic.
With Audio visualizer enabled, Typeless worked for a few dictations, then reported that the mic was unavailable and hung on retry. The macOS Sound settings input meter also failed to start the same mic. Core Audio repeatedly timed out after about 14 seconds with
StartIOThreaderror0x3C. A sample ofcoreaudiodduring the stall showed it waiting inStartTapOutput().When I disabled Audio visualizer,
system-audio-spectrumexited at 12:18:34.824. The pending mic start reachedPerformStartIOat 12:18:34.864, about 40 ms later. Typeless then successfully transcribed speech before it was restarted. After the mic sat idle for over three minutes, three more mic starts from the Typeless settings panel took about 10 ms each.ogail commentedon Nov 10, 2026
Additional November 9 occurrence: Codex and Wispr Flow microphone startup stalls
I’m seeing this on ChatGPT/Codex desktop 26.1103.41825 (build 25679), macOS 26.6.2 (25G83), with Wispr Flow 1.6.1400 and the MacBook Pro built-in microphone at 48 kHz.
Both Codex dictation and Wispr Flow intermittently fail to start capturing audio. Flow shows a flat/dark recording bar, and Codex also fails to activate its microphone. Repeated cancellations/retries sometimes restore capture after a minute or two. I usually notice it after opening/waking the laptop, although the captured evening occurrence was well after the last logged full wake, so wake is not established as a necessary trigger.
Diagnostic evidence
Times below are November 9, America/Los_Angeles (UTC−08:00).
microphone_readyorfirst_audiobefore cancellation at 19:43:30.623. That stall occurred after permission approval and before capture readiness.system-audio-spectrumrepeatedly created system-audio capture sessions during the failure window. At 19:44:08.298, macOS explicitly attributed its system-audio capture request to ChatGPT.app /com.openai.codex. CoreAudio registered temporary MultiTap/aggregate contexts for those helper processes. This is time correlation, not proof of a particular lock or implementation defect.first_audioin about 161 ms and completed. The failure is intermittent; I’m not claiming the later setting change caused this earlier recovery.Workaround and immediate testing
The successful transcription and close/reopen tests are my user-reported results. A subsequent process check found no
system-audio-spectrumhelper, and a short log check found no new matching audio-start errors. That short window contained no new Codex startup telemetry, so absence of errors is not being used as independent proof that the tests succeeded.We did not restart
coreaudiod, reset permissions, remove drivers, or modify the signed app during this investigation. Flow’s input selection and the visualizer setting were both changed, there was no controlled re-enable test, and long-term stability has not been established. The evidence supports the visualizer/CoreAudio interaction as a likely trigger, not a proven exclusive microphone lock or precise source-level root cause.Please investigate the visualizer’s system-audio tap/aggregate lifecycle and add regression coverage for repeated microphone starts in Codex and third-party dictation apps, including built-in microphones, silence/no playback, chat switching, and sleep/wake. An optional visual effect should not interfere with microphone capture in other apps, and stalled capture should surface a recoverable error.
Related: #44596.
Only sanitized diagnostic details are included here: no recordings, transcripts, account identifiers, device UIDs, private chat contents, or complete raw logs.
zclllyybb commentedon Nov 26, 2026
Reproduced on Codex desktop 26.1120.50957 (build 30866), macOS 15.7.3 (24G419), MacBook Air M4, using the built-in microphone and speakers. Typeless 2.13.0 intermittently captured silence, reported “Microphone unavailable,” and took several seconds to dismiss with Esc. Disabling Settings → General → Toys → Audio visualizer restored dictation.
I isolated this from Typeless using the bundled
system-audio-spectrumhelper and a native client that callsAudioDeviceStarton the built-in microphone. With the visualizer off, the call returned in 57 ms. With the helper running and speaker output idle, two calls remained blocked until I released the tap about 8 seconds into each test. Hardware mic I/O then started 60 ms and 35 ms after tap release, respectively.The tap can also stay registered while the microphone recovers. While the native client was blocked, I started playback of all-zero PCM and kept the visualizer alive. Core Audio logged the following sequence, relevant to the volume-change observation in #44596.
setPlayState StartedDigital Mic Starting IODigital Mic Start of IO result 0A one-second sample of
coreaudiodduring a separate blocked start captured the same frames in 92/92 samples on each thread:IOWorkLoopInit → StartTapOutput → IOWorkLoop_SleepUntilWakeTime → HALB_Guard::WaitForWaitForTapStart → BlockStartOnTapStart → IOWorkLoop_SleepUntilWakeTime → HALB_Guard::WaitForExternal_Start → StartIOThread → StartAndWaitForStateOne lead for triage is the helper's readiness signal. It emitted
readybefore the microphone stalled, and the desktopSpectrumCapturewrapper clears its 60-second startup timer on that event. It may be worth checking how the wrapper handles an idle output device when the helper reports readiness but the Core Audio tap is still waiting to start.