fix: enums

for some reason in gjs I experience Playing and Paused being 0
This commit is contained in:
Aylur
2024-08-04 03:50:34 +02:00
parent 48533788f6
commit 995098bbc7
+3 -3
View File
@@ -382,7 +382,7 @@ public class Player : Object {
} }
public enum PlaybackStatus { public enum PlaybackStatus {
PLAYING = 0, PLAYING,
PAUSED, PAUSED,
STOPPED; STOPPED;
@@ -412,7 +412,7 @@ public enum PlaybackStatus {
} }
public enum Loop { public enum Loop {
UNSUPPORTED = 0, UNSUPPORTED,
NONE, NONE,
TRACK, TRACK,
PLAYLIST; PLAYLIST;
@@ -445,7 +445,7 @@ public enum Loop {
} }
public enum Shuffle { public enum Shuffle {
UNSUPPORTED = 0, UNSUPPORTED,
ON, ON,
OFF; OFF;