No audio over Bluetooth (A2DP) on Samsung One UI 9 / Android 17 because the equalizer is always attached

オープン
#532 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin

調査の方向性

Read SimpleEqualizer.setupEqualizer() and trace how the equalizer is created, enabled, and released during playback. Add a user controlled switch that fully releases the effect when disabled, then verify Bluetooth audio works with the equalizer off and that equalizer controls still work when it is on.

索引モデルが issue の本文から書いたものです。

説明

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.8.5

Affected Android/Custom ROM version

Android 17, One UI 9.0 (build CP2A.260605.016)

Affected device model

Samsung Galaxy S23 (SM-S911B)

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Connect a Bluetooth speaker or headphones (A2DP).
  2. Play any track in Fossify Music Player.
Expected behavior

Audio plays through the Bluetooth device.

Actual behavior

Playback runs normally (progress moves, the phone shows output on Bluetooth), but the Bluetooth device is silent. The phone speaker works, and other music players work over the same Bluetooth connection. The old Simple Music Player behaves the same.

Screenshots/Screen recordings

None. Not visible on screen.

Additional information

AI help (Claude Code) was used to create this bug report and to test the cause. It might be arguable whether it's a bug per se or rather a feature due to a Samsung bug, still the fix would help me and others. Thanks for the effort already!

Cause, verified on the device:

adb shell dumpsys media.audio_flinger shows the Fossify track active on the A2DP output thread at full volume: L/R Vol 1.0, PortMuted false, InternalMute false, 0 underruns, frames being consumed. Nothing in the framework mutes it.
The only app-specific element on that output is the effect chain on Fossify's session: name: Equalizer, implementor: NXP Software Ltd., enabled, running at 44.1 kHz.
Android 17 background-audio hardening is ruled out: dumpsys audio has no AudioHardening entries for the app.
A minimal test app (AudioTrack playing a tone, plus a switch that creates or releases Equalizer(0, audioSessionId) with enabled = true and flat bands) reproduces it. With the Equalizer attached the Bluetooth output is silent; without it the tone plays.

This is most likely a Samsung/Android 17 platform bug, and I've reported it to Samsung. Fossify triggers it because SimpleEqualizer.setupEqualizer() always creates and enables the Equalizer, even with a flat preset, and the app has no way to turn it off. So on affected devices Bluetooth playback can't be fixed by the user.

Suggested fix: an "Enable equalizer" switch that fully releases the effect when off. I have a small patch ready and can open a PR if this gets the help wanted label.

主要言語
Kotlin
スター
933
フォーク
104
平均マージ
2日 10時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Music-Player のほかの issue

FossifyOrg/Music-Player の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。