smithdtyler / prettygoodmusicplayer

A music player app for Android hits the basics hard
GNU General Public License v3.0
52 stars 23 forks source link

Add gapless playback #64

Open smithdtyler opened 9 years ago

smithdtyler commented 9 years ago

This looks like it should be pretty easy to do with Android 4.1+

https://developer.android.com/about/versions/android-4.1.html

Gapless playback

You can now perform gapless playback between two separate MediaPlayer objects. At any time before your first MediaPlayer finishes, call setNextMediaPlayer() and Android attempts to start the second player the moment that the first one stops.

Media router. The new APIs MediaRouter, MediaRouteActionProvider, and MediaRouteButton provide standard mechanisms and UI for choosing where to play media.