capacitor-plugin-playlist 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -255,8 +255,8 @@ class PlaylistManager(application: Application) :
|
|
|
255
255
|
return playbackSpeed
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
fun setPlaybackSpeed(@FloatRange(from = 0.0625, to =
|
|
259
|
-
val validSpeed = speed.coerceIn(0.0625f,
|
|
258
|
+
fun setPlaybackSpeed(@FloatRange(from = 0.0625, to = 16.0) speed: Float) {
|
|
259
|
+
val validSpeed = speed.coerceIn(0.0625f, 16.0f)
|
|
260
260
|
playbackSpeed = validSpeed
|
|
261
261
|
playlistHandler?.let { handler ->
|
|
262
262
|
handler.currentMediaPlayer?.let { mediaPlayer ->
|