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

Abierto
#532 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Kotlin
Estrellas
933
Forks
104
Merge medio
2 d 10 h
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FossifyOrg/Music-Player

Todos los issues de FossifyOrg/Music-Player

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.