Clarify state

This commit is contained in:
Joakim Ramer committed 2023-02-16 23:00:33 +01:00
1 parent b73763a9ec
commit f4b05a3236
1 file changed
+1 -2
+1 -2
View File
@@ -462,11 +462,10 @@ class AudioPlayer: NSObject {
}
public func getPlayerState() -> PlayerState {
// Other PlayerStates doesn't translate to player status
switch status {
case .uninitialized:
return PlayerState.buffering
default:
case .paused, .playing:
return PlayerState.ready
}
}