The code below should skip to 5 seconds from beginning but it always starts at the beginning (0:00).
Korge - core - 5.2.0
Platform: Android (API level 34)
val startProgress: TimeSpan = 5.seconds
val music = resourcesVfs["music" + ".mp3"].readMusic()
val playbackParameters = PlaybackParameters(
startTime = startProgress
)
music.play(
params = playbackParameters,
)
Sample project - code is in the MainActivity, project template was generated by kmp.jetbrains.com.
Included MP3 is maybe quiet one so boost a volume little bit.
KorgeTestAudio.zip
The code below should skip to 5 seconds from beginning but it always starts at the beginning (0:00).
Korge - core - 5.2.0
Platform: Android (API level 34)
Sample project - code is in the MainActivity, project template was generated by kmp.jetbrains.com.
Included MP3 is maybe quiet one so boost a volume little bit.
KorgeTestAudio.zip