2 Star 0 Fork 0

mirrors_grafov/go-vlc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
const.go 3.16 KB
一键复制 编辑 原始数据 按行查看 历史
jim teeuwen 提交于 2011-05-31 18:04 . Initial commit. Full API implemented.
// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// license. Its contents can be found at:
// http://creativecommons.org/publicdomain/zero/1.0
package vlc
type LogPriority uint8
const (
Info LogPriority = iota
Error
Warning
Debug
)
type EventType int
const (
MediaMetaChanged EventType = iota
MediaSubItemAdded
MediaDurationChanged
MediaParsedChanged
MediaFreed
MediaStateChanged
)
const (
MediaPlayerMediaChanged EventType = 0x100 + iota
MediaPlayerNothingSpecial
MediaPlayerOpening
MediaPlayerBuffering
MediaPlayerPlaying
MediaPlayerPaused
MediaPlayerStopped
MediaPlayerForward
MediaPlayerBackward
MediaPlayerEndReached
MediaPlayerEncounteredError
MediaPlayerTimeChanged
MediaPlayerPositionChanged
MediaPlayerSeekableChanged
MediaPlayerPausableChanged
MediaPlayerTitleChanged
MediaPlayerSnapshotTaken
MediaPlayerLengthChanged
)
const (
MediaListItemAdded EventType = 0x200 + iota
MediaListWillAddItem
MediaListItemDeleted
MediaListWillDeleteItem
)
const (
MediaListViewItemAdded EventType = 0x300 + iota
MediaListViewWillAddItem
MediaListViewItemDeleted
MediaListViewWillDeleteItem
)
const (
MediaListPlayerPlayed EventType = 0x400 + iota
MediaListPlayerNextItemSet
MediaListPlayerStopped
)
const (
MediaDiscovererStarted EventType = 0x500 + iota
MediaDiscovererEnded
)
const (
VlmMediaAdded EventType = 0x600 + iota
VlmMediaRemoved
VlmMediaChanged
VlmMediaInstanceStarted
VlmMediaInstanceStopped
VlmMediaInstanceStatusInit
VlmMediaInstanceStatusOpening
VlmMediaInstanceStatusPlaying
VlmMediaInstanceStatusPause
VlmMediaInstanceStatusEnd
VlmMediaInstanceStatusError
)
type PlaybackMode uint8
const (
PMDefault PlaybackMode = iota
PMLoop
PMRepeat
)
type MarqueeOption uint8
const (
MOEnable MarqueeOption = iota
MOText
MOColor
MOOpacity
MOPosition
MORefresh
MOSize
MOTimeout
MOX
MOY
)
type AdjustOption uint8
const (
AOEnable AdjustOption = iota
AOContrast
AOBrightness
AOHue
AOSaturation
AOGamma
)
type LogoOption uint8
const (
LOEnable LogoOption = iota
LOFile
LOX
LOY
LODelay
LORepeat
LOOpacity
LOPosition
)
type MetaProperty uint8
const (
MPTitle MetaProperty = iota
MPArtist
MPGenre
MPCopyright
MPAlbum
MPTrackNumber
MPDescription
MPRating
MPDate
MPSetting
MPURL
MPLanguage
MPNowPlaying
MPPublisher
MPEncodedBy
MPArtworkURL
MPTrackID
)
type MediaState uint8
const (
MSNothingSpecial MediaState = iota
MSOpening
MSBuffering
MSPlaying
MSPaused
MSStopped
MSEnded
MSError
)
type MediaOption uint16
const (
MOTrusted MediaOption = 0x2
MOUnique MediaOption = 0x100
)
type TrackType int
const (
TTUnknown TrackType = -1
TTAudio TrackType = 0
TTVideo TrackType = 1
TTText TrackType = 2
)
type AudioDevice int8
const (
ADError AudioDevice = -1
ADMono AudioDevice = 1
ADStereo AudioDevice = 2
AD2F2R AudioDevice = 4
AD3F2R AudioDevice = 5
AD5_1 AudioDevice = 6
AD6_1 AudioDevice = 7
AD7_1 AudioDevice = 8
ADSPDIF AudioDevice = 10
)
type AudioChannel int8
const (
ACError AudioChannel = -1
ACStereo AudioChannel = 1
ACRStereo AudioChannel = 2
ACLeft AudioChannel = 3
ACRight AudioChannel = 4
ACDolbys AudioChannel = 5
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_grafov/go-vlc.git
git@gitee.com:mirrors_grafov/go-vlc.git
mirrors_grafov
go-vlc
go-vlc
f64db8c39be1

搜索帮助