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

Đang mở
#2,908 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
audio-video-rtc, mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Kotlin
Star
13.8k
Fork
811
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của maxrave-dev/SimpMusic

Tất cả issue của maxrave-dev/SimpMusic

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.