Minor fix on end of audio notification

This commit is contained in:
Tanha
2020-01-04 13:35:03 -08:00
parent 8d9e9d92f4
commit 58bbc97a1b
+1 -1
View File
@@ -154,7 +154,7 @@ class AudioEngine: AudioEngineProtocol {
func updateIsPlaying() {
if !bufferedSeconds.isPlayable {
if bufferedSeconds.bufferingProgress == 1.0 {
if bufferedSeconds.bufferingProgress > 0.999 {
playingStatus = .ended
} else {
playingStatus = .buffering