Country
Device
Any
Operating System
Android
My Question or Issue
Spotify 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: https://developer.android.com/reference/android/media/audiofx/AudioEffect.html#ACTION_CLOSE_AUDIO_EF...
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.
Bonus: When fast-forwarding a track without playing music, random sessions that were never opened are still closed
When opening a session, Android expects this intent to be broadcasted: https://developer.android.com/reference/android/media/audiofx/AudioEffect.html#ACTION_OPEN_AUDIO_EFF...
This intent is also sent when you fast-forward in a track that is currently playing. Whenever a user has audio effects applied, some delay is audible caused by the initialization of these effects on every newly opened session. This could be solved if the same audio session is reused.
Hey folks,
Thanks for your patience while we looked into this issue.
We’re happy to say that this should now be fixed for everyone!
If you’re still experiencing this issue, can you make a new thread in the relevant board? We'll get back to you there.
Thanks!