Skip to content

KorAU - PlaybackParameters - startTime is not working #8

@Woren

Description

@Woren

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Pending

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions