Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headphone sound rule is ignored #270

Closed
jmonroynieto opened this issue Nov 22, 2021 · 3 comments
Closed

Headphone sound rule is ignored #270

jmonroynieto opened this issue Nov 22, 2021 · 3 comments

Comments

@jmonroynieto
Copy link

jmonroynieto commented Nov 22, 2021

The feature added in commit 5c89bd1 works great typically, but I have changed my phone, and it seems that the connection is ignored unless there is something already playing.

I have no other devices connected; they are shown to be used for calls and audio in the Bluetooth settings.
I've tested:
Aftershokz Aeropex and SkullCandy Sesh Evo

Goodtime v2.5.2

I'm not sure how to further troubleshoot or document this issue.
android 11 on a Samsung A42 5G

@jmonroynieto
Copy link
Author

After thinking about it and a lot of googling, I uncovered the following from ADB output dumpsys audio

   [DeviceInfo: type:0x80 (bt_a2dp) name:Sesh Evo addr:XXXXXXcodec: 4000000]
    [DeviceInfo: type:0x20 (bt_sco_hs) name:Sesh Evo addr:XXXXXXcodec: 0]
    [DeviceInfo: type:0x80000008 (bt_sco_hs) name:Sesh Evo addr:XXXXXXcodec: 0]
    [DeviceInfo: type:0x10 (bt_sco) name:Aeropex by AfterShokz addr:XXXXXX codec: 0]
    [DeviceInfo: type:0x80000008 (bt_sco_hs) name:Aeropex by AfterShokz addr:XXXXXXcodec: 0]
    [DeviceInfo: type:0x80 (bt_a2dp) name:Aeropex by AfterShokz addr:XXXXXX codec: 1f200000]

could this mean that TYPE_BLUETOOTH_SCO is not catching my headphones?

@adrcotfas
Copy link
Owner

Thanks for your feedback! I'll investigate this soon.

@jmonroynieto
Copy link
Author

I'm closing this for now. I think it has to do with a global toggle in Samsung's one UI which is accessible through Sound Assistant > Settings > Advanced settings > Alerts through headphones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants