![]() ![]() Indeed, starting a MediaPlayer seems to stop any previous playing MediaPlayer. If I say yesterday, it's because the next day, it did not work as supposed to. Here is the part where I start the MediaPlayers: //let's suppose this code snippet is in a run() method inside a Thread (which is the case) MediaPlayer track3 = MediaPlayer.create(this, R.raw.track3) Īs you can see, I have three distincts instances of MediaPlayer here.īecause I am asked to, I need to have these MediaPlayer being played in a background thread. MediaPlayer track2 = MediaPlayer.create(this, R.raw.track2) Yesterday I managed to make it work doing so : MediaPlayer track1 = MediaPlayer.create(this, R.raw.track1) I am supposed to play three audio tracks at the exact same time using. ![]() I need help with playing multiple audio tracks at the same time in Android. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |