mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-15 14:38:17 +08:00
fix gui freeze bug (work round)
This commit is contained in:
18
core/model/player.go
Normal file
18
core/model/player.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
type AudioDevice struct {
|
||||
Name string
|
||||
Description string
|
||||
}
|
||||
|
||||
type PlayerPropertyValue any
|
||||
type PlayerProperty string
|
||||
|
||||
const (
|
||||
PlayerPropIdleActive PlayerProperty = "idle-active"
|
||||
PlayerPropTimePos PlayerProperty = "time-pos"
|
||||
PlayerPropDuration PlayerProperty = "duration"
|
||||
PlayerPropPercentPos PlayerProperty = "percent-pos"
|
||||
PlayerPropPause PlayerProperty = "pause"
|
||||
PlayerPropVolume PlayerProperty = "volume"
|
||||
)
|
||||
Reference in New Issue
Block a user