From 928f28e158587d1b40b0fd243c44b7fffd65dbab Mon Sep 17 00:00:00 2001 From: Rafal Date: Thu, 26 Apr 2018 11:35:53 +0200 Subject: [PATCH] Added seekTo function, added Duration into MediaInfo object --- .idea/caches/build_file_checksums.ser | Bin 594 -> 565 bytes .idea/runConfigurations/LaunchOnly.xml | 23 +++++++++++++++++- .../coneey/rxaudiocontroller/MainActivity.kt | 7 +++++- app/src/main/res/layout/activity_main.xml | 19 ++++++++++++--- build.gradle | 1 + rxaudiomanager/build.gradle | 1 + .../rxaudiomanager/MediaManagerFactory.kt | 4 +-- .../rxaudiomanager/mediaListener/MediaInfo.kt | 6 ++++- .../mediaListener/MediaStateResolver.kt | 18 +++++++++++--- .../serviceMediaManager/PlayerService.kt | 4 +-- .../serviceMediaManager/ServiceCommand.kt | 5 +++- .../simpleMediaManager/InternalMediaPlayer.kt | 16 +++++++++++- .../simpleMediaManager/MediaManager.kt | 3 +++ .../MediaServiceCommandEmitter.kt | 11 ++++++++- ...leMediaPlayer.kt => SimpleMediaManager.kt} | 4 +-- 15 files changed, 103 insertions(+), 19 deletions(-) rename rxaudiomanager/src/main/java/github/com/coneey/rxaudiomanager/simpleMediaManager/{SimpleMediaPlayer.kt => SimpleMediaManager.kt} (78%) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index e58321ed21b7e9f2e8e7751fd3f97037842f6607..d09d2b9362f42ad677983c3cb11c031bc552b8dd 100644 GIT binary patch delta 140 zcmV;70CWG+1hoW^mjz=1Npk9uoJ;`*k?CR(pbD&mJITlpP1OWpZ?BWpj0L0Db@l0000GScoi+?Kvc#E3$>#w_vW2bO1F&I$TwAWpZ;| uQekFc#eyJ9b;Y`EX~l$dYiX020VEIv_tKiiF>r##i?Z~ka=T-bBLXkJIXbui delta 160 zcmV;R0AK&L1kwbMmjz<}#Bv;woJ;`+k?CR(6NZ`3z7`pG`eL$HP^!4ylUo5U5Gh1D zTvc;ra&ufmZ*FCIbCc2mBtfm(&A8Ksi(Ov7@9-Ip