Backstory: I’ve used Google Music alongside a Radar Detector App (JBV1) for the last couple years, and I’m used to the way Google Music and JBV1 handle the handoffs of the audio alerts. JBV1 alerts, and Google Music lowers the volume to allow the alert to gain my focus. After the alert from JBV1, Google Music raises the volume back to the previous level.
In contrast, Plexamp pauses the music to allow the JBV1 alert to come through and in the case of a longer series of alerts, such as following a Police Cruiser for a mile or two, Plexamp V3.1.1 remains paused.
I prefer the way that Google Music handles this particular situation, and it may come down to individual preference but I decided to bring this up to see if it’s something that can be adjusted.
I already reached out to the developer of JBV1 to see if I can help the developers of Plexamp understand what is going on here. This is what he said,
AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK is a type of audio focus specified by the Android AudioManager API that apps like JBV1 may request before playing audio that’s expected to be of short duration, like alert audio. Other audio apps, like music apps, are “supposed” to respect this request and either lower their volume or pause until they regain audio focus (audio focus is released by the app that gained it temporarily)–but they aren’t required to do so.
By that description, I don’t think JBV1 or Plexamp is doing anything necessarily wrong or anything is broken. I’m just seeing if my preference was already considered by Plexamp and if not, perhaps it could be implemented.
If you need to reach JBV1’s developer, he’s on the following link
https://www.rdforum.org/threads/103570/#post-1493880