In my project I need to set the playback params before the MediaPlayer is started (MediaPlayer will start when user clicks a Button). But when I set playback params using the code given below, the MediaPlayer automatically gets started.
mediaPlayer.setPlaybackParams(mediaPlayer.getPlaybackParams().setSpeed(1.5f));
Now, how would I prevent it from getting started?
(You can say, I might just set the params when button is clicked, but it won't work as I have several MediaPlayers to set params.)