Jump to content

bluetooth device detection issue on new PA updates


JD2504

Recommended Posts

Hi, i love Poweramp, but this bug is getting really anoying, i use multiple bluetooth devices and i assign a preset to eachone of them, but with the latest releases, BT device detection is broken, PA only detects the first device connected and uses the right preset for it, but then i connect a different device and PA detects it as the same previos device(already d/c) and thus doesn't use the correct EQ preset. If i restart my phone again it only works correctly for the first device connected. i discarded it is something wrong with my phone (huawei P60 pro) because i installed PA build 957(playstore apk) and started working fine again, even without restarting.

I hope it makes sense, and hopefully it can be fixed soon as i bought the app gallery version but currently have to use this play store build that i cannot activate. Thanks!

Link to comment
Share on other sites

Yes, it makes sense. I've been discussing a related issue with Max which occurs intermittently when an AVRCP Bluetooth device is connected (i.e. something with media controls) and Android seems to report that a previous A2DP stereo output is still operating. In my case, after I've stopped and disconnected my phone from the car stereo, but my Smart Watch stays linked to the phone via BT, even when I plug in a wired headset Poweramp can think that it is still outputting to the Hyundai i30 headunit and it thus applies an incorrect EQ preset and Output Method definition (you can see what it's doing in the Audio Info display).

Andre

Link to comment
Share on other sites

@andrewilley this actually should improve in the recent Poweramp builds (changed around build 967). Switch of bt device, or multiple connected BT devices now properly switch appropriate Poweramp codec info / presets. This relies on the info returned by Android. It always relied on this info, but a lot of workarounds for the older/buggy devices are not needed for the recent Androids (at least Android 11+).

Prior builds 966-967 the bluetooth device change (while other bt device is connected) was not detected (and it's not detected even now for the older Androids due to the lack of reliable info from system).

@JD2504I've just tested scenario (build-973, Samsung@Android13 + Huawei@HarmonyOS2.0.0 tested)

- connected Galaxy Buds (1), assigned preset Buds
- connected Galaxy Buds2, assigned preset Buds2,
- listened back to Buds (1), without disconnection (both pair of buds are connected), preset switched to Buds and info shows Buds
- listened Buds2, preset switched to Buds2, info shows Buds2
- switched between Buds and Buds2 multiple times, with and without disconnecting them

If you scenario differs from this, let me know.

 

Link to comment
Share on other sites

1 hour ago, maxmp said:

this actually should improve in the recent Poweramp builds (changed around build 967).

Excellent, thank you. Come to think of it, I hadn't noticed this issue occurring recently - but as it was intermittent anyway I'd not given it much further thought.

Andre

Link to comment
Share on other sites

5 hours ago, maxmp said:

@andrewilley this actually should improve in the recent Poweramp builds (changed around build 967). Switch of bt device, or multiple connected BT devices now properly switch appropriate Poweramp codec info / presets. This relies on the info returned by Android. It always relied on this info, but a lot of workarounds for the older/buggy devices are not needed for the recent Androids (at least Android 11+).

Prior builds 966-967 the bluetooth device change (while other bt device is connected) was not detected (and it's not detected even now for the older Androids due to the lack of reliable info from system).

@JD2504I've just tested scenario (build-973, Samsung@Android13 + Huawei@HarmonyOS2.0.0 tested)

- connected Galaxy Buds (1), assigned preset Buds
- connected Galaxy Buds2, assigned preset Buds2,
- listened back to Buds (1), without disconnection (both pair of buds are connected), preset switched to Buds and info shows Buds
- listened Buds2, preset switched to Buds2, info shows Buds2
- switched between Buds and Buds2 multiple times, with and without disconnecting them

If you scenario differs from this, let me know.

 

Hi, yes it differs from your scenerio max

My case is somewhat like this:

-connect any tws earbuds, assign them a preset, then disconnect them.

-connect my cardo spirit intercom, go to assign a preset but the cardo device is not listed, PA still shows the previos earbuds to be assigned not the cardo unit. (Turning off/on BT doesnt help)

-restart phone

-connect cardo unit now it is listed correctly in PA, assign a preset

-disconnect cardo and connect earbuds, PA still thinks its the cardo and uses the cardo preset.

So in short PA gets stuck in whatever bt device is connected first and thus doesnt properly select presets after that.

 

I will gladly supply any other info/evicende you might need.

 

In the mean time, is there a way i can download previous builds with appgallery(huawei) validation? im afraid once my trial time in this playstore version is over i wont be able to use the app at all.

EDIT: tried changing AVRCP version from 1.4 to 1.6. Didn't help.

 

Edited by JD2504
info
Link to comment
Share on other sites

1 hour ago, maxmp said:

@JD2504 the second step means it's not reported about the connection to PA, or it's reported as non-A2DP device (as BT SCO for example).

Im not sure i undertand, this meaning it is something wrong with my device? I mentioned the cardo unit, but it happens with any other device, or even in reverse, also as i mentioned in my previous post, its actually working fine with a previous build so im a bit confused

Link to comment
Share on other sites

It should work or at least I can't reproduce the issue with A2DP devices (devices which set to play Audio, not for voice comms).

As I can see "cardo spirit intercom" is something that is not related to audio at all, so I don't think it can in anyway be detected in Poweramp.

Link to comment
Share on other sites

5 hours ago, maxmp said:

It should work or at least I can't reproduce the issue with A2DP devices (devices which set to play Audio, not for voice comms).

As I can see "cardo spirit intercom" is something that is not related to audio at all, so I don't think it can in anyway be detected in Poweramp.

Ohh, sorry i asumed you would know what an intercom is, my bad, its basically a headset for motorcycle helmets, it works no diferent than a regular headset and it does get detected in PA build 957, i just used it for my example, but as i mentioned it happens with any device, for example 2 diferent sets of earbuds.

To be clear all my devices get detected by PA when i connect them, the issue is after i connect a BT device, all subsequent devices get listed by PA as the same first device so it gets stuck using the preset for that one device.

Link to comment
Share on other sites

I can't replicate this issue on my Samsung A70 device with PA build 973 either. I tried the following several times with two BT audio devices:

  1. Turned on my Communicator device and it auto-connected to my phone via BT.
    PA correctly detected it in the EQ screen and assigned its previously assigned 'Comm' Preset, as expected.
    I made a minor change and re-saved the Preset again, using the same 'Comm' name and with Communicator ticked as the assigned device.
    Then I turned the Communicator off, and the EQ reverted back to my previously assigned Preset for Speaker.
  2. Turned on my Parrot Zik v1 headphones and they auto-connected to my phone via BT.
    Again, PA correctly detected them in the EQ screen and assigned their previously assigned 'Parrot' Preset, as expected.
    I made another minor change and re-saved the Preset again, using the same 'Parrot' name and with Parrot Zik v1 ticked as the assigned device.
    Then I turned the headphones off, and the EQ reverted back to my previously assigned Preset for Speaker.
  3. Tested each BT device separately in turn.
    Turned one BT device on, waited for PA to detect and assign the appropriate EQ Preset, then turned off BT device.
    Then did the same with other BT device, which also worked fine.
    Repeated multiple times and the correct device and EQ Preset was assigned each time.
  4. Turned both BT devices on at the same time. Each new connection resulted in output switching to the newly connected device, and the correct EQ Preset was assigned each time.
  5. I could then repeatedly switch between those two connected BT devices, and/or the phone's Speaker, using the Samsung SmartThings 'Audio Output' selector:
    image.png
    Each output change resulted in the correct Preset being applied in PA's EQ screen.

The only very minor irritation that I encountered is that when two BT devices are connected at the same time and I'm listening to (for example) the Parrot headphones, if I then turn off the unused Communicator device then PA will pause playback as if the live BT output device had been disconnected. It would be nice if PA could somehow detect which of the two devices the disconnect message originated from, and only pause playback when the current output device has been disconnected.

Andre

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...