Skip to content

Fix pause playback when headphones are disconnected#852

Merged
theovilardo merged 1 commit intotheovilardo:masterfrom
adlifarizi:fix/player-audio-focus
Jan 22, 2026
Merged

Fix pause playback when headphones are disconnected#852
theovilardo merged 1 commit intotheovilardo:masterfrom
adlifarizi:fix/player-audio-focus

Conversation

@adlifarizi
Copy link
Copy Markdown
Contributor

What’s changed

Playback now reliably pauses when audio output changes (e.g. earbuds or headphones are disconnected).

Why

Currently, audio may continue playing through device speakers after headphones are unplugged, which is unexpected behavior and has been reported in multiple issues.

This change forces setHandleAudioBecomingNoisy(true) so the player responds correctly to audio routing changes.

Related issues

@adlifarizi adlifarizi changed the title Pause playback when headphones are disconnected Fix pause playback when headphones are disconnected Jan 17, 2026
@theovilardo theovilardo merged commit d398ebf into theovilardo:master Jan 22, 2026
@theovilardo
Copy link
Copy Markdown
Owner

Thanks for your contribution!

@adlifarizi adlifarizi deleted the fix/player-audio-focus branch February 24, 2026 03:18
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