seffparker Posted December 21, 2023 Share Posted December 21, 2023 Poweramp build number: build-976-bundle-play Device models POCO F1, POCO F4 Android versions Android 10 / Android 13 Custom ROM name/version (if you're on custom ROM) Stock ROMs (MIUI 12 / MIUI 14) Steps to reproduce Choose Audio output method to "AAudio" for "Bluetooth" stream Play audio via Bluetooth ANY device Make an outgoing or incoming call End the call The audio cannot be resumed automatically or even manually (Toggle the output method settings to resume the audio) We have other output methods like OpenES or Hi-Res which don't have such issues. But I prefer AAudio due to its quality and compatibility HD device. I kindly request my fellow users to try to recreate the issue in your devices to see if it occur in some specific environments. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/ Share on other sites More sharing options...
Bencherished Posted December 21, 2023 Share Posted December 21, 2023 @Shafeer Painkal yes this issue has been for a while, I also noticed that Aadio sounds better when compared to Hi-Res but due to this issue of not resuming play back after some calls, I use Hi-Res output, or force stop the app whenever the issue occurs. Bencherished. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127293 Share on other sites More sharing options...
maxmp Posted December 21, 2023 Share Posted December 21, 2023 @Shafeer Painkal #5 - why exactly it can't start? What do you see in the Last Processed Commands right after the call? The most probably cause of this - app is being killed while paused due to not all the necessary background "permissions" granted (https://dontkillmyapp.com/xiaomi) Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127298 Share on other sites More sharing options...
seffparker Posted December 26, 2023 Author Share Posted December 26, 2023 @maxmp I don't think it's a background-kill issue as I already excluded Poweramp from ALL battery optimizations. Moreover, the bug is only happening with AAudio+Bluetooth used together. @Bencherished thanks for confirming the issues is not a device-specifc one. These as the "last processed commands" from call_start to call_end: ================== 10:06:04.142 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT PAUSE ================== 10:06:04.286 PSAudioFocusHelper call ring/offhook ================== 10:06:08.836 PSAudioFocusHelper call idle wasPausedByPhone=true ================== 10:06:09.214 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 10:06:09.717 PSAudioFocusHelper RESUME after call or audio focus Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127391 Share on other sites More sharing options...
Bencherished Posted December 26, 2023 Share Posted December 26, 2023 @Shafeer Painkal when I was using Samsung galaxy m30 with Android 10, I noticed this issue and reported it, then I thought it was the phone, when I got galaxy m51 and still had same issue, I concluded it is from Samsung firmware, but hearing it's also happening in poco, then it has to be from Android OS. @maxmp please I sent you a direct message concerning root and sound quality and functionality of Poweramp, but you haven't replied, let me post it here. my phone is Samsung galaxy m51, it will no longer receive Official android update from Samsung, for that, I decided to root it so I can uninstall system apps I don't use. In the process, I decided to move Poweramp to the system partition and I noticed that I got a cleaner sound, to be sure of what I noticed, I moved it back and forth, and I noticed the difference in sound. So I'm asking if you are aware of this, and if there are any other settings I can change to further take advantage of moving Poweramp to system partition? Thanks. Bencherishedlove. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127397 Share on other sites More sharing options...
maxmp Posted December 26, 2023 Share Posted December 26, 2023 @Shafeer Painkal thanks for the log, yes, this is not a background kill issue, but some instability of the AAudio output for this firmware/Android level. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127400 Share on other sites More sharing options...
seffparker Posted December 27, 2023 Author Share Posted December 27, 2023 (edited) @Bencherished, I tried moving Poweramp into system app and nearly bricked my device while reverting the app into the normal user app After hours of sweaty palm, finally recovered without any data loss. (issue reported) btw, while running Poweramp as system or system-priv app, I didn't notice ANY sound quality improvements. And the original issue reported in this thread was still there. @maxmp since the audio could be auto-resumed by just toggling the Audio Output settings like no-DVC (still keeping on AAudio output), and the issue happens in different firmware and Android version, I think it can be fixed within the app code itself. I kindly request you to try recreating the issue yourself so you may find the actual underlying problem. Edited December 28, 2023 by seffparker typo Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127407 Share on other sites More sharing options...
Bencherished Posted December 28, 2023 Share Posted December 28, 2023 @seffparker sorry about that, how did you move the app? I am asking because I did not struggle with it. I back-up Poweramp, used sd maid app to locate where Poweramp is installed in user partition, move the folder to the system app partition, rename the folder for easy identification, open the folder and grant Poweramp apk permission, restart my phone,and that is it. Bencherished. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127419 Share on other sites More sharing options...
maxmp Posted December 28, 2023 Share Posted December 28, 2023 I was able to reproduce this for one of MIUI devices I have, so I was able to add workaround for the issue - included into the next build. Thanks for the reports! Btw, AAudio is a bit more stable on some devices, but it's not better in quality in any way (and it shouldn't be) than e.g. Hi-Res output, so if Hi-Res output works fine (which is not always the case), just use Hi-Res output. For bluetooth, AudioTrack output also may support LDAC 96khz/24bit (depends on firmware, you can go to AudioTrack output and check if format/sample rate can be changed). Thanks! Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127423 Share on other sites More sharing options...
seffparker Posted January 2 Author Share Posted January 2 Thanks for the fix-on-the-way! I did try the Hi-Res Output, but some of my Bluetooth devices are not well compatible with it, having some volume level (may DVC) issues, so I chose AAudio which works well, despite this no-resume after call issue. Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-127489 Share on other sites More sharing options...
seffparker Posted September 17 Author Share Posted September 17 I could confirm the issue has been resolved on the version build-987 Link to comment https://forum.powerampapp.com/topic/27508-aaudio-bluetooth-output-audio-cannot-resume-after-call/#findComment-131880 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now