LibVLCEnums.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. namespace UMP.Wrappers
  2. {
  3. internal enum LogLevels
  4. {
  5. Debug = 0,
  6. Notice = 2,
  7. Warning = 3,
  8. Error = 4
  9. }
  10. internal enum ParsedStatus
  11. {
  12. Skipped = 0,
  13. Failed,
  14. Timeout,
  15. Done
  16. }
  17. internal enum MediaStates
  18. {
  19. NothingSpecial = 0,
  20. Opening,
  21. Buffering,
  22. Playing,
  23. Paused,
  24. Stopped,
  25. Ended,
  26. Error
  27. }
  28. internal enum MediaSlaveType
  29. {
  30. Subtitle,
  31. Audio
  32. }
  33. internal enum MediaMetadatas
  34. {
  35. Title = 0,
  36. Artist,
  37. Genre,
  38. Copyright,
  39. Album,
  40. TrackNumber,
  41. Description,
  42. Rating,
  43. Date,
  44. Setting,
  45. URL,
  46. Language,
  47. NowPlaying,
  48. Publisher,
  49. EncodedBy,
  50. ArtworkURL,
  51. TrackID
  52. }
  53. internal enum TrackTypes
  54. : int
  55. {
  56. Unknown = -1,
  57. Audio = 0,
  58. Video = 1,
  59. Text = 2
  60. }
  61. internal enum EventTypes
  62. : int
  63. {
  64. MediaMetaChanged = 0,
  65. MediaSubItemAdded,
  66. MediaDurationChanged,
  67. MediaParsedChanged,
  68. MediaFreed,
  69. MediaStateChanged,
  70. MediaSubItemTreeAdded,
  71. MediaPlayerMediaChanged = 0x100,
  72. MediaPlayerNothingSpecial,
  73. MediaPlayerOpening,
  74. MediaPlayerBuffering,
  75. MediaPlayerPlaying,
  76. MediaPlayerPaused,
  77. MediaPlayerStopped,
  78. MediaPlayerForward,
  79. MediaPlayerBackward,
  80. MediaPlayerEndReached,
  81. MediaPlayerEncounteredError,
  82. MediaPlayerTimeChanged,
  83. MediaPlayerPositionChanged,
  84. MediaPlayerSeekableChanged,
  85. MediaPlayerPausableChanged,
  86. MediaPlayerTitleChanged,
  87. MediaPlayerSnapshotTaken,
  88. MediaPlayerLengthChanged,
  89. MediaPlayerVout,
  90. MediaPlayerScrambledChanged,
  91. MediaListItemAdded = 0x200,
  92. MediaListWillAddItem,
  93. MediaListItemDeleted,
  94. MediaListWillDeleteItem,
  95. MediaListViewItemAdded = 0x300,
  96. MediaListViewWillAddItem,
  97. MediaListViewItemDeleted,
  98. MediaListViewWillDeleteItem,
  99. MediaListPlayerPlayed = 0x400,
  100. MediaListPlayerNextItemSet,
  101. MediaListPlayerStopped,
  102. MediaDiscovererStarted = 0x500,
  103. MediaDiscovererEnded,
  104. VlmMediaAdded = 0x600,
  105. VlmMediaRemoved,
  106. VlmMediaChanged,
  107. VlmMediaInstanceStarted,
  108. VlmMediaInstanceStopped,
  109. VlmMediaInstanceStatusInit,
  110. VlmMediaInstanceStatusOpening,
  111. VlmMediaInstanceStatusPlaying,
  112. VlmMediaInstanceStatusPause,
  113. VlmMediaInstanceStatusEnd,
  114. VlmMediaInstanceStatusError
  115. }
  116. }