Audio session broadcasting for Android

  • 18 May 2020
  • 3 replies

Deezer for Android does not close sessions when audio playback is paused or stopped, unless you fast-forward in a track. In both cases Android expects this intent to be broadcasted:

If this intent is not broadcasted, audio effects that were applied to this session stay applied. This causes some effects not to be available to any other audio session and unnecessary consumption of system resources.

When opening a session, Android expects this intent to be broadcasted:

This intent is also sent when you fast-forward in a track that is currently playing.  Implementing audio session broadcasting would also allow us of third party apps to control music output, equalisation etc. 

3 replies

Userlevel 7
Badge +3

Hello @thinavila69, that’s a very interesting feedback. I will forward it to the team that is working on Android.

Thank you for sharing with us, we appreciate :slight_smile:

Ideally, when a new track is starting, it would reuse the session that was opened before. This way equalizer applications do not have to reinitialize their audio effect instances again and again for each new session. This saves quite some resources as reinitializing the effect instances can be a fairly heavy task to perform. Reinitializing the audio effect instances is also clearly noticeable in audio output, so reusing the session ID will vastly improve user experience.

+1 , Please fix this Deezer team