No audio over Bluetooth (A2DP) on Samsung One UI 9 / Android 17 because the equalizer is always attached
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- audio-video-rtc, mobile
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Connect a Bluetooth speaker or headphones (A2DP).
- 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.
- Dominant language
- Kotlin
- Stars
- 933
- Forks
- 104
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FossifyOrg/Music-Player
-
feature request needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
FossifyOrg/Music-Player#515 ·
Maintainers usually reply within 1 day
-
feature request needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
FossifyOrg/Music-Player#479 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
FossifyOrg/Music-Player#424 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
FossifyOrg/Music-Player#423 · 1 comment ·
Maintainers usually reply within 1 day
-
Add info button on current playing fileMay be free again A pull request for this issue was closed without being merged. Openfeature request needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
FossifyOrg/Music-Player#29 · 13 comments ·
Maintainers usually reply within 1 day
All issues in FossifyOrg/Music-Player
Similar issues
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
grote/Transportr#1029 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
TeamAmaze/AmazeFileManager#4800 ·
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
FossifyOrg/Gallery#1235 ·
Maintainers usually reply within 1 day
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
enhancement module:webview p3
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NucleusFramework/Nucleus#1004 ·
Maintainers usually reply within 1 day