Poweramp alpha-build-703-play full version
Samsung Galaxy S7
Android 6.0.1
Stock ROM
Bug description: When I unplug the headset, while Poweramp is playing music, the music stops (as selected in the corresponding menu), but the mobile phone gets stuck in "headset mode". I tested this with screen on and off. As Androind 6.0.1 does not have the headphone icon anymore in the taskbar, you can see this when going to the advanced audio settings of the phone ROM, that e.g. UHQ is still selectable, etc. If I then plugin in and take out the headphones again, it is okay (and UHQ is not selectable anymore).
Further effect of the bug: The issue with this problem is that if UHQ stays enabled (or let's say if the phone stays in "headset mode"), the sound of phone calls gets distorted and clips / crackels.
Note: It only happens when the sound was playing for a while with screen off. Maybe it is related to a kind of power saving mode of the phone?