Clarify state

This commit is contained in:
Joakim Ramer
2023-02-16 23:00:33 +01:00
parent b73763a9ec
commit f4b05a3236
+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
}
}