zzzaap Posted August 2, 2022 Share Posted August 2, 2022 (edited) Poweramp build number (available in Poweramp Settings / About) build-939-bundle-play [939004-33c8a71] -- But this has been happening since September 2021 your device model -- this happened specifically when i moved to a Pixel Phone Pixel 5a your Android version 12 your custom ROM name/version (if you're on custom ROM) n/a steps to reproduce -- i can reproduce this 100% of the time on my phone Connect to AA, play some music Doesn't matter wired or wireless. Doesn't matter what headunit. Disconnect from AA 1) From Unlocked state Play some music, put to sleep (doesn't matter if through timed or power button): Music pauses 2) From Lock Screen Using the notification buttons from the lock screen, play music, unlock: Music pauses Quote ================== 17:26:10.098 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:26:10.455 PlayerService UNDUCK afterFocus ================== 17:26:22.330 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT IGNORE !inPhone && !af_short ================== 17:26:26.078 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:26:26.433 PlayerService UNDUCK afterFocus ================== 17:27:47.733 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT IGNORE !inPhone && !af_short ================== 17:27:52.380 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:27:52.738 PlayerService UNDUCK afterFocus ================== 17:28:10.614 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT IGNORE !inPhone && !af_short ================== 17:28:15.381 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:28:15.738 PlayerService UNDUCK afterFocus ================== 17:28:22.662 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT IGNORE !inPhone && !af_short ================== 17:28:25.239 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:28:25.600 PlayerService UNDUCK afterFocus ================== 17:28:46.702 PSAudioFocusHelper AUDIOFOCUS_LOSS_TRANSIENT IGNORE !inPhone && !af_short ================== 17:28:49.243 PSAudioFocusHelper AUDIOFOCUS_GAIN ================== 17:28:49.599 PlayerService UNDUCK afterFocus ================== 17:29:35.277 PSAudioFocusHelper AUDIOFOCUS_LOSS IGNORE !inPhone && !af_permanent ================== 17:29:40.419 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:29:43.344 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:29:45.382 PSMediaSessionHelper.Callback onPause com.google.android.projection.gearhead ================== 17:33:46.950 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:15.870 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:16.790 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:23.063 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:24.264 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:29.221 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:35:30.939 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:37:35.457 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:44:36.229 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:44:49.137 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA ================== 17:44:50.421 AppScannerSupport PAUSE pause_on_headset USB disconnection/AA Last few lines is me spamming the power button. This is after disconnected from the headunit. I've almost every setting I could navigate to, but nothing works. Android Auto folks don't believe me or keep sending me the same generic advice so maybe here will help Edited August 2, 2022 by zzzaap more detail Link to comment Share on other sites More sharing options...
mweber11 Posted October 21, 2022 Share Posted October 21, 2022 I have the same problem since June 2022. In March 2022, I updated to Android 10 from Android 9 on my OnePlus 5T and a couple months later, this issue drives me crazy. I have reached out to Poweramp and Maksim did reply to me, but after my last explanation of what is going on in the log I sent versus what I did on the phone, I haven't received any response. I am slightly convinced that this has something to do with the Android OS, but one would think it would happen to everyone from Android 10 up. Here's something to test to see if it works: when you're experiencing the problem, open up Poweramp, go to Settings, then Misc, and then press Restore Defaults button (take note of your settings first if you have anything customized on this page... I do not). Doing this makes it function correctly again until I connect Android Auto. Hopefully we can get some light shed on this topic sometime soon. No other audio player has this issue for me. Best, Mike Link to comment Share on other sites More sharing options...
Luka Dursun Posted December 21, 2022 Share Posted December 21, 2022 I am having the exact same problem on my Pixel 7. Very frustrating, i really have no idea what to do, I've tried all sorts of setting, wakelock, etc. Link to comment Share on other sites More sharing options...
Bencherished Posted December 21, 2022 Share Posted December 21, 2022 @Luka Dursun Aaudio sounds superior to me, but I had same issue, no sound after phone calls, and I reported it, I will suggest that you should use Hi-Res, it is stable, and the difference is not much. Bencherished Link to comment Share on other sites More sharing options...
andrewilley Posted December 21, 2022 Share Posted December 21, 2022 When you disconnect the AA cable, does the Bluetooth connection remain established, or is the head-unit completely switched off with the car ignition? Andre Link to comment Share on other sites More sharing options...
seriouslyserious Posted May 26, 2023 Share Posted May 26, 2023 I've experienced a similar issue with Poweramp over the past year. It appears that Wireless Android auto emulates a USB c connection which allows it to transmit the audio signals over Wi-Fi instead of Bluetooth for better audio quality. Sometimes, this process sticks which causes the USB DAC disconnect signal to be sent every time you turn your screen off. Poweramp doesn't seem to pay attention to which connection is disconnected for the 'Pause on headset disconnect' so even if you're using Bluetooth and it sees a USB DAC disconnect it will pause the audio. If there was a way to program in some form of intent that basically says, 'if audio is going through Bluetooth, only pause when Bluetooth is disconnected' it could fix this issue. Hope the team looks into it, love this audio player but it's the only one that experiences this issue. For now, turning off 'pause on headset disconnect' has fixed the issue, but I have to manually pause music when I take my headset off or I'll get blasted by music out of my phone speaker. Link to comment Share on other sites More sharing options...
maxmp Posted July 25, 2023 Share Posted July 25, 2023 @seriouslyserious I would add that if you can reliable reproduce this issue and is willing to help with resolving it: - please replicate the issue - immediately, get a log from Poweramp Settings / Headset/Bluetooth / Last Processed Commands - send it to gpmaxmpz@gmail.com The log contains the exact reason for the player to pause. Thanks! Link to comment Share on other sites More sharing options...
Iconthelegend Posted July 25, 2023 Share Posted July 25, 2023 seriouslyserious's suggestion fixed the issue for me. My issue was Poweramp pauses immediately after screen locked. Link to comment Share on other sites More sharing options...
andrewilley Posted July 26, 2023 Share Posted July 26, 2023 So the issue seems to be that if there is more than one headset connected, disconnecting any of them (even when not currently being used as the primary output method by Android) will cause playback to stop via the 'Pause on Headset Disconnect' feature. If so, you should see confirmation of that in PA Settings=>Headset/Bluetooth=>Last Processed Commands. It might also be worth a look at the 'Audio Info' display during playback - does the final Output Device line show the correct device which you are currently listening to? As Max said above though, please could you send him a logfile when this issue occurs. Andre Link to comment Share on other sites More sharing options...
maxmp Posted July 26, 2023 Share Posted July 26, 2023 @andrewilley headset disconnections sends a separate message, which doesn't contain any info about the device (ACTION_AUDIO_BECOMING_NOISY). It's basically Android OS asking to pause/stop everything immediately - no reason given. And generally we don't want to ignore this. In the OP user case it may be something else - I can investigate if I have a log. Link to comment Share on other sites More sharing options...
andrewilley Posted November 28, 2023 Share Posted November 28, 2023 2 hours ago, Guest said: I never had this issue on my Galaxy S9; it began when I switched to a Pixel 5. Now I have a Motorola Razr, which also has the issue. Maybe it has something to do with Samsung's implementation of Android, I don't really know. What happens on your device, as there have been a few variations mentioned in this thread. Please register on the site to post in future. Andre Link to comment 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