From 6c0b741f0572f46851aa2a389f27420ea7b77c03 Mon Sep 17 00:00:00 2001 From: Norton Date: Sun, 19 Sep 2021 21:21:14 +0800 Subject: [PATCH 1/2] public function playNextAudioIfExists --- Source/SAPlayer.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/SAPlayer.swift b/Source/SAPlayer.swift index d0bc68d..e84c9ee 100644 --- a/Source/SAPlayer.swift +++ b/Source/SAPlayer.swift @@ -541,6 +541,13 @@ extension SAPlayer { public func clearAllQueuedAudio() -> [URL] { return presenter.handleClearQueued() } + + /** + looking foor next audio in queue, if it exist play it + */ + public func playNextAudioIfExists() { + return presenter.playNextAudioIfExists() + } /** Resets the player to the state before initializing audio and setting media info. From a3da28036ba5785a788b5d96bd885d4575f352eb Mon Sep 17 00:00:00 2001 From: Norton Date: Sun, 19 Sep 2021 21:23:18 +0800 Subject: [PATCH 2/2] public function playNextAudioIfExists --- Source/SAPlayer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SAPlayer.swift b/Source/SAPlayer.swift index e84c9ee..78a7578 100644 --- a/Source/SAPlayer.swift +++ b/Source/SAPlayer.swift @@ -543,7 +543,7 @@ extension SAPlayer { } /** - looking foor next audio in queue, if it exist play it + looking for next audio in queue, if it exist play it */ public func playNextAudioIfExists() { return presenter.playNextAudioIfExists()