jstraw wrote: > This may be to do with Android 9 (Pie). > > I can't find an equalizer app that will function with SBPlayer/Squeeze > Ctrl. I think it's because they're all designed to only work with apps > that "start an audio session". I don't know what that actually means. Do > your apps not do this, and is this solvable? > > Thanks.Every app that plays audio has to "start" an audio session.
Audio is fed into the system using something called an AudioTrack. Every AudioTrack has a unique id called an Audio Session ID. If you know a track's Audio Session ID, then you can apply effects to it. Audio Session ID's are not fixed, a new one is generated every time you create a new AudioTrack. It used to be that you can use an Audio Session ID of 0 to apply effects to the global sound mix, but that is no longer possible in newer versions of Android. If a player app just uses the system's built-in media player to play audio then an equalizer app could just ask the system for the audio session id the media player is using. For the purposes of SB Player it cannot just use the built-in media player, so an equalizer will have to retrieve the Audio Session ID from SB Player. Unfortunately there's no standardized way of exposing an ID to other apps, so I'd would have to create a way to do that and the equalizer app would be a specifically support it. Sent from my Pixel 3 using Tapatalk -------------- Squeezebox apps for webOS, Android and Windows Phone, http://www.angrygoatapps.com ------------------------------------------------------------------------ wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760 View this thread: http://forums.slimdevices.com/showthread.php?t=96757 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
