Jump to content

Poweramp on Android headunit does not pause on bluetooth phone call


Recommended Posts

Hi all,

Poweramp is my default media player on my Xtrons Android 10 (fudged to report as 11 I think) headunit. I'm having the issue that upon receiving or making a phone call via bluetooth, PA mutes rather than pauses the currently playing song. Before I disabled DVC, Poweramp would continue to play music alongside the phone call but ideally I'd like it to pause the track, as the options in settings I have enabled suggest should happen.

Does anyone know what combination of settings might work for me?

I can't find the post now (could have been on XDA) but I seem to remember reading a while back that there was some issue with certain Android headunits interpreting commands correctly, if anyone knows anything about that side of things.

Any help much appreciated,

Link to comment
Share on other sites

First check the options in PA Settings=>Audio=>Audio Focus. Make sure Duck Volume is not enabled, but the pause on Focus Change options are turned on.

Andre

Link to comment
Share on other sites

Just checked this morning and that's how things are set unfortunately. Duck volume off (greyed out). Perm. Audio Focus Change on. Pause in call on. Short audio focus change / calls off.

Link to comment
Share on other sites

Posted (edited)

Same again. I've had a look in my unit's factory settings but nothing jumps out as being related to this feature.

Just to add... Poweramp pauses without issue when opening another app which plays audio. Just seems to be Bluetooth which can't activate pause for some reason.

Edited by Jonny G
Added info
Link to comment
Share on other sites

I've just been playing with DVC. If enabled, audio will pause very briefly, then return with noticeable volume increase (as expected). No DVC for Bluetooth Absolute Volume seems to make no difference even with Disable Absolute Volume enabled in developer options and BT toggled off / on.

I also noticed I have various different output options namely, OpenSL ES Output, AudioTrack Output, Hi-Res Output, AAudio Output. It seems you can assign different outputs such as wired headset (which my car speakers function as) Bluetooth, USB DAC, etc but I've not found changing these settings allows the PA to pause as required.

Link to comment
Share on other sites

Check that you have not enabled the override feature in Settings=>Audio=>Output=>(mode)=>Bluetooth. You could also try using different output modes.

Andre

Link to comment
Share on other sites

I've tried swapping Wired Headset onto other output modes without success, as well as Bluetooth (unsure if Bluetooth is actually being used as an output as in this case the phone is transmitting the phone call to the headunit via BT, then output is thru wired headset isn't it?)

Can't see an Override listed, unless you mean "No Duck"

Link to comment
Share on other sites

56 minutes ago, Jonny G said:

Can't see an Override listed, unless you mean "No Duck"

Yes, that's what I meant. And yes, BT will not be used for stereo music within the headunit, only for calls audio from your phone to the headunit.

What do you see in Settings=>Headset/Bluetooth=>Last Processed Commands? That might show what's happening, but it does sound like your headunit's ROM is not providing the correct event details.

Andre

Link to comment
Share on other sites

I've also noticed in the Audio menu that it states Bluetooth is disconnected. (It's not) Unsure of what else I can try related to this as BT options on Android HU's are very limited and the Developer Options don't seem to relate to this particular problem.

Link to comment
Share on other sites

3 hours ago, Jonny G said:

Is there any way to grab the Last Processed Commands as a file or will a photo suffice?

Just use the theee-dots menu on that screen and select copy.

Andre

Link to comment
Share on other sites

Posted (edited)

Hi Andre. This log was taken with all outputs set to default OpenSL ES Output just before making an outgoing call via my bluetoothed mobile.


11:29:18.285 build-967-bundle-play
Device: Doro Doro QCM6125 S10A trinket "qcom" QCM6125 sc138-userdebug 10 S10A_123 eng.hct2.20220929.155140 release-keys [arm64-v8a, armeabi-v7a, armeabi]

trinket is_snapdragon
FAILED to read /vendor/etc/audio_output_policy.conf
reading /vendor/etc/audio_io_policy.conf
has direct_pcm_24, sampling_rates=44100|48000|88200|96000|176400|192000|352800|384000
AUDIO_OUTPUT_FLAG_DIRECT direct_pcm_24
has direct_pcm_24 formats=AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
FLAG_VARIANT_DIRECT_HD via direct_pcm_24
FLAG_NEEDS_DEEP_BUFFER android_sdk=29
USB can handle Hi-Res - sdk=29
>>>OK flags=0x854616600000000
FLAG_VARIANT_DIRECT_HD
FLAG_SUPPORTS_PCM_8_24
FLAG_SUPPORTS_PCM_24
FLAG_SUPPORTS_PCM_32
FLAG_SUPPORTS_UNITY_GAIN_STREAM
FLAG_SUPPORTS_USB
FLAG_NEEDS_EXTRA_SLEEPS
FLAG_SUPPORTS_LDAC
FLAG_NEEDS_DEEP_BUFFER
FLAG_ALLOW_DVC_EFFECT
FLAG_BT_DVC_EFFECT
INTERNAL_OUTPUT_FLAG_SR_384K
INTERNAL_OUTPUT_FLAG_SR_352K
INTERNAL_OUTPUT_FLAG_SR_192K
INTERNAL_OUTPUT_FLAG_SR_176K
INTERNAL_OUTPUT_FLAG_SR_96K
INTERNAL_OUTPUT_FLAG_SR_88K
INTERNAL_OUTPUT_FLAG_SR_48K
INTERNAL_OUTPUT_FLAG_SR_44K
 
 

Edited by Jonny G
Link to comment
Share on other sites

I've also tried adding all devices on AAudio Output and rebooted unit with same results. Mute with DVC off, nothing with DVC on.

Hi-Res Output did not function at all.

Link to comment
Share on other sites

2 hours ago, Jonny G said:

Hi Andre. This log was taken with all outputs set to default OpenSL ES Output just before making an outgoing call via my bluetoothed

Thats not a Headset/Bluetooth=> Last Processed Commands log, that's an Audio Outputs Detection Log.

Andre

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...