[Android] Refactor AudioPlayer in Kotlin

Geoffrey Métais git at videolan.org
Tue Jan 16 17:44:51 CET 2018


vlc-android | branch: chromecast | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Dec 20 11:38:03 2017 +0100| [e398f74d2f81ffb91fc734e8eaa5ac7f1df2fd75] | committer: Geoffrey Métais

Refactor AudioPlayer in Kotlin

Useful for its updater, we now can use an actor instead of the old
handler hack

> https://code.videolan.org/videolan/vlc-android/commit/e398f74d2f81ffb91fc734e8eaa5ac7f1df2fd75
---

 .../vlc/gui/AudioPlayerContainerActivity.java      |   2 +-
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    | 765 ---------------------
 .../src/org/videolan/vlc/gui/audio/AudioPlayer.kt  | 637 +++++++++++++++++
 .../src/org/videolan/vlc/util/Constants.java       |   4 +
 4 files changed, 642 insertions(+), 766 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/e398f74d2f81ffb91fc734e8eaa5ac7f1df2fd75


More information about the Android mailing list