types

package
v0.0.0-...-b43fa77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFps

func GetFps() float64

func SetFps

func SetFps(fps float64)

Types

type HHMMSSMs

type HHMMSSMs struct {
	HH, MM, SS, Ms int
}

func (HHMMSSMs) String

func (o HHMMSSMs) String() string

String -

type Timecode

type Timecode float64

func NewTimecode

func NewTimecode(h, m, s float64) Timecode

NewTimecode -

func ParseHHMMSS

func ParseHHMMSS(t string) (Timecode, error)

ParseHHMMSS - hh:mm:ss format where ss can be float64

func ParseHHMMSSFr

func ParseHHMMSSFr(t string) (Timecode, error)

ParseHHMMSSFr - hh:mm:ss:fr format

func ParseTimecode

func ParseTimecode(t string) (Timecode, error)

ParseTimecode -

func (Timecode) HHMMSSMs

func (o Timecode) HHMMSSMs() HHMMSSMs

HHMMSSMs -

func (Timecode) InSeconds

func (o Timecode) InSeconds() float64

InSeconds -

func (Timecode) String

func (o Timecode) String() string

String -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL