forked from doublesymmetry/SwiftAudioEx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusts behavior of next() and previous()
Adjusts behavior of next() and previous() to match that of KotlinAudio - (breaking) next and previous no longer throw errors - (breaking) QueuedAudioPlayer#next(): when there is no next item, the last item in the queue (which is also the current item) is played again - (breaking) QueuedAudioPlaye#previous()r: when there is no previous item, the first item in the queue (which is also the current item) is played again - (breaking) QueueManager#previous(): when there is no previous item, the first item in the queue is returned - (breaking) QueueManager#next(): when there is no next item, the last item in the queue is returned - Adjust results of tests to match new behavior
- Loading branch information
Showing
7 changed files
with
77 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.