Lazarus
Programming => Operating Systems => Android => Topic started by: Manlio on June 11, 2019, 12:06:49 pm
-
While studying how the MediaPlayer component works I came across this:
https://developer.android.com/reference/android/media/MediaPlayer.html#setAudioStreamType(int)
(Deprecated in Android 26)
It says to replace it with setAudioAttributes
https://developer.android.com/reference/android/media/MediaPlayer.html#setAudioAttributes(android.media.AudioAttributes)
(Added in Android 21)
So it looks like some maintenance will be needed there, at some point.
Thanks