Audio output switch from wired headset to "This phone" doesn't apply until playback is paused and resumed

Abierto
#2,908 0 comentarios 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
56/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

Start by locating the Audio Output selection and the code that handles switching from a wired headset to “This phone”; compare that path with the working phone-to-headset switch. Reproduce on Android with a wired headset while music is playing, then check that selecting “This phone” routes audio to the speaker immediately without pausing and resuming. The issue does not name source files or tests.

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

Descripción

area:playback bug:unconfirmed
Duplicate Check
  • I confirm I searched for existing reports and found no duplicates.
Latest Release
  • I confirm I am on the latest release and the problem still happens.
Platform

Android

Build Variant

FOSS

App Version

v2.6.0

Did this work in a previous version?

No response

Context
  • I am logged in to a YouTube Music account
  • Crossfade or DJ-style transition is enabled
  • The problem started right after a network interruption (Wi-Fi drop, mobile signal loss, etc.)
Describe the Bug

In the Audio Output selection there are two options: "This phone" and the wired headset (3.5mm jack). While music is playing:

  • Switching from This phone → Headset works immediately.
  • Switching from Headset → This phone does nothing. Audio keeps playing through the headset. If I pause and then play, audio moves to the phone speaker.
Steps to Reproduce
  1. Plug in a wired headset (3.5mm jack).
  2. Start playing any song.
  3. Open Audio Output selection and choose This phone.
  4. Audio stays on the headset.
  5. Pause, then play. Audio now comes from the phone speaker.
Expected Behavior

Audio should move to the phone speaker immediately, the same way it moves to the headset in the other direction.

Log / Error Details

No response

Lenguaje dominante
Kotlin
Estrellas
13.8k
Forks
811
Merge medio
1 d 3 h
PR fusionados (30 d)
7

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 maxrave-dev/SimpMusic

Todos los issues de maxrave-dev/SimpMusic

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.