这是indexloc提供的服务,不要输入任何密码
Skip to content

oto: add a function to get the player's current position #228

@mark-summerfield

Description

@mark-summerfield

I am trying to write a music player using oto.
I know how long a track is based on the number of samples and the sample rate.
However, during playback I want to be able to show progress, for which a Player.Position() int64 is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions