Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAudioOffset = -1
View Source
const DownKeyInterval = 5
View Source
const LeftKeyInterval = 10
View Source
const RightKeyInterval = 10
View Source
const UpKeyInterval = 5
View Source
const VisibilityTimeOut = int64(3000)
Variables ¶
This section is empty.
Functions ¶
func AudioStreamers ¶
Types ¶
type D ¶
type D = layout.Dimensions
type Player ¶
type Player struct { *app.Window RightKeyPressed bool UpKeyPressed bool LeftKeyPressed bool DownKeyPressed bool SpaceKeyPressed bool EscKeyPressed bool RightKeyLastUpdated int64 UpKeyLastUpdated int64 LeftKeyLastUpdated int64 DownKeyLastUpdated int64 SpaceKeyLastUpdated int64 EscKeyLastUpdated int64 // contains filtered or unexported fields }
func (*Player) CurrentView ¶
func (p *Player) CurrentView() CurrentView
func (*Player) InitializeSpeakers ¶
func (p *Player) InitializeSpeakers()
func (*Player) IsPathValid ¶
func (*Player) OnVideoPathChanged ¶
func (p *Player) OnVideoPathChanged()
func (*Player) SetCurrentView ¶
func (p *Player) SetCurrentView(v CurrentView)
type PlayerStatus ¶
type PlayerStatus int
const ( Idle PlayerStatus = iota Loading Playing Paused Stopped )
Click to show internal directories.
Click to hide internal directories.