claude-code - 💡(How to fix) Fix [BUG] Background audio (Spotify, etc.) does not resume after voice dictation or TTS playback when CarPlay is active [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54766Fetched 2026-04-30 06:36:36
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2unlabeled ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When connected to CarPlay and listening to music/podcast/etc in the car, if I use voice dictation in the iOS Claude app to transcribe a message, or tapping the read-aloud button on a Claude response, background audio pauses as expected but never resumes afterward.

What Should Happen?

Claude should resume any stopped/paused audio from an external app.

(This is possible. It works with chatGPT on iOS)

Error Messages/Logs

Steps to Reproduce

  1. Connect iPhone to CarPlay via Wi-Fi
  2. Play music via Spotify through CarPlay
  3. Either: (a) use voice dictation to send a message, or (b) tap the read-aloud/ElevenLabs playback button on a Claude response
  4. Music ducks out during dictation/TTS
  5. Music must be manually resumed (⚠️ dangerous!)

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

1.260423.0​​​​​​​​​​​​​​​​

Platform

Other

Operating System

iOS

Terminal/Shell

iTerm2

Additional Information

Specific to CarPlay being active — likely an AVAudioSession interruption handling issue (app not relinquishing the audio session after use)

extent analysis

TL;DR

The issue can likely be resolved by properly handling AVAudioSession interruptions in the Claude app to relinquish the audio session after use, allowing background audio to resume.

Guidance

  • Investigate the AVAudioSession configuration in the Claude app to ensure it correctly handles interruptions and relinquishes the audio session when not in use.
  • Verify that the app is properly setting the AVAudioSessionCategory and AVAudioSessionMode to allow background audio to resume after interruption.
  • Check the implementation of voice dictation and text-to-speech (TTS) functionality to ensure they are not holding onto the audio session unnecessarily.
  • Consider consulting Apple's documentation on AVAudioSession and audio interruption handling for guidance on proper implementation.

Example

No specific code example can be provided without more information on the current implementation, but ensuring the app sets up an AVAudioSession with the correct category and mode, such as .playback or .playAndRecord, and properly activates and deactivates it around audio usage, is crucial.

Notes

This solution assumes the issue is indeed related to AVAudioSession handling, as hinted in the additional information. Without access to the specific code or more detailed logs, it's challenging to provide a precise fix.

Recommendation

Apply a workaround by adjusting the AVAudioSession handling in the Claude app to properly relinquish the audio session after use, allowing background audio to resume, as this seems to be the root cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Background audio (Spotify, etc.) does not resume after voice dictation or TTS playback when CarPlay is active [1 participants]