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

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, kotlin

調査の方向性

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.

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

説明

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

主要言語
Kotlin
スター
13.8k
フォーク
811
平均マージ
1日 3時間
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

maxrave-dev/SimpMusic のほかの issue

maxrave-dev/SimpMusic の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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