I am wondering if there is an app that can intercept the audio focus requests from multiple apps and while keeping the audio focus to the android OS to itself, and merge the streams coming from the multiple apps.
A specific use case is Pandora and Pokemon Go. I want to listen to Pandora while still getting the sound effects from Pokemon while I am out walking/running/biking. I can then stop and hit the Pokestop or catch the Pokemon and continue on my way. By default, which ever app was opened most recently is the one with audio focus to the OS and therefore only sounds from one app can be heard.
What I envision is an app that would require root, would request and receive the audio focus to the OS, and then when any other media source sends an audio focus request to the OS this app would intercept that request, spoof back to the media source that the media source now has audio focus, and add that media source's stream to the mixed stream being sent to the OS. This would also allow the app to control the volume of individual media sources before sending them via the mixed stream up to the OS, so one or more media source could be a higher or lower volume than the others.
I have looked around but can't find anything that offers this service. Most sound mixers (including Viper4Android) are just equalizers, not mixing streams. Some offer the option to change the way notifications interrupt media when a notification comes in, or when a phone call is ringing.
I do know that the app RunKeeper has a feature called "Audio Ducking" which will lower the volume of the other media source (like Pandora) while it announces the mileage/time/speed of your activity. This is similar to but not exactly what I am looking for, and it is not universal to all apps regardless of source.
Thoughts?
By the way, I am currently using Android N Developer Preview 5 on a Nexus 6. I assume that will matter when determining how to intercept the requests for audio focus.
Regards,
Russ
A specific use case is Pandora and Pokemon Go. I want to listen to Pandora while still getting the sound effects from Pokemon while I am out walking/running/biking. I can then stop and hit the Pokestop or catch the Pokemon and continue on my way. By default, which ever app was opened most recently is the one with audio focus to the OS and therefore only sounds from one app can be heard.
What I envision is an app that would require root, would request and receive the audio focus to the OS, and then when any other media source sends an audio focus request to the OS this app would intercept that request, spoof back to the media source that the media source now has audio focus, and add that media source's stream to the mixed stream being sent to the OS. This would also allow the app to control the volume of individual media sources before sending them via the mixed stream up to the OS, so one or more media source could be a higher or lower volume than the others.
I have looked around but can't find anything that offers this service. Most sound mixers (including Viper4Android) are just equalizers, not mixing streams. Some offer the option to change the way notifications interrupt media when a notification comes in, or when a phone call is ringing.
I do know that the app RunKeeper has a feature called "Audio Ducking" which will lower the volume of the other media source (like Pandora) while it announces the mileage/time/speed of your activity. This is similar to but not exactly what I am looking for, and it is not universal to all apps regardless of source.
Thoughts?
By the way, I am currently using Android N Developer Preview 5 on a Nexus 6. I assume that will matter when determining how to intercept the requests for audio focus.
Regards,
Russ
from xda-developers http://ift.tt/2apCztn
via IFTTT
Aucun commentaire:
Enregistrer un commentaire