Jørgen Henrichsen
d32a041159
Updated to recommended project settings.
2019-04-18 16:53:07 +02:00
Jørgen Henrichsen
8161c3cf02
Update to Swift 5.
2019-04-18 16:53:07 +02:00
Jørgen Henrichsen
b3856e0a7a
Tests for AudioPlayer events.
2019-03-10 01:02:24 +01:00
Jørgen Henrichsen
1febb782d8
Add tests for NowPlayingInfoController.
2019-03-03 16:10:30 +01:00
Jørgen Henrichsen
cb9dec49b2
Test updating of NowPlayingInfo.
...
* Create protocol NowPlayingInfoControllerProtocol to make it more testable (so it can be mocked).
2019-02-28 23:06:03 +01:00
Jørgen Henrichsen
8ba40ca45f
Updated project settings.
2018-12-23 14:30:23 +01:00
Jørgen Henrichsen
f6b5e30e85
Converted SwiftAudio and example to Swift 4.2
2018-12-23 12:38:39 +01:00
Jørgen Henrichsen
73089bbe8b
Use AudioSession protocol instead of AVAudioSession.
...
- Makes the AudioSessionController easier to test.
- Updated tests
- Fixes a problem where the AudioSessionController tests would not succeed on device.
2018-11-02 08:01:15 +01:00
Jørgen Henrichsen
b4f919e8f4
Merge branch 'master' into dev
2018-10-29 20:56:14 +01:00
David Chavez
cd43ecc6f9
Update example and fix tests
2018-10-29 15:44:06 +01:00
Jørgen Henrichsen
20190152eb
Remove the add(propert:) for adding new NowPlayingInfo properties.
...
Made the nowPlayingInfoController public.
2018-10-28 12:30:47 +01:00
Jørgen Henrichsen
b44777fcd7
Changed method signature for loading items.
2018-10-26 11:28:55 +02:00
Jørgen Henrichsen
ce5e5e886f
Removed SimpleAudioPlayer, will use AudioPlayer from now on.
...
Removed the tests.
2018-10-26 10:57:31 +02:00
Jørgen Henrichsen
d3d354d5bd
Simplified AVPlayerWrapper.
...
Created a protocol for the wrapper to follow.
Removed config options that where just getters/setters to the underlying AVPlayer.
Made it possible to pass in custom AVPlayer that can be customized with these options.
Updated AVPlayerWrapperTests and added a couple tests for the rate property.
2018-10-26 10:50:55 +02:00
Jørgen Henrichsen
77a3206633
Update podspec
...
Bmump version to 0.3.4
2018-10-10 12:05:55 +02:00
Jørgen Henrichsen
9f4ef3aa9e
Updated pods
2018-10-10 06:08:05 +02:00
Jørgen Henrichsen
6a93840463
More tests
...
Added for SimpleAudioPlayer and QueuedAudioPlayer.
Made next and previous items in the queue non-optional, instead they will be empty when no items are in the queue.
2018-09-06 23:39:03 +02:00
Jørgen Henrichsen
a63771a040
More tests for AVPlayerWrapper and AudioPlayer
2018-08-18 09:03:06 +02:00
Jørgen Henrichsen
7d27ef286f
Add the TestSound to the project
2018-08-05 15:28:27 +02:00
Jørgen Henrichsen
7681d5d983
Added AudioPlayerTests
2018-08-05 12:22:39 +02:00
Jørgen Henrichsen
8b1e57b3c0
Added a Source file for test audio.
...
Contains the test audio file path, used in all tests.
2018-08-05 10:32:30 +02:00
Jørgen Henrichsen
1c4f5ec738
AudioSessionController tests.
...
Also activate audio session on play instead of launch in the example.
2018-08-05 10:02:53 +02:00
Jørgen Henrichsen
d56d4c699e
Added some more testing to the QueueManager and AVPlayerWrapper
2018-07-29 01:10:30 +02:00
Jørgen Henrichsen
ea9f632eb6
Added a testcase for AVPlayerObserver
2018-07-28 16:13:25 +02:00
Jørgen Henrichsen
460908e180
Updated example app
...
Added title, artist, image, timelabels and a queue.
2018-03-25 17:58:56 +02:00
Jørgen Henrichsen
b4953f0a73
QueueManager
...
Two subclasses of AudioPlayer. Simple and Queued.
2018-03-24 16:53:11 +01:00
Jørgen Henrichsen
bf02f1423d
Restructured and renamed classes to make usage if the player better.
2018-03-19 10:50:49 +01:00
Jørgen Henrichsen
8eb225c86d
Updated example
2018-03-18 18:12:32 +01:00
Jørgen Henrichsen
f2708beb23
Added tests for the observers.
2018-03-17 20:34:26 +01:00
Jørgen Henrichsen
92f34732e9
Updated example project.
2018-03-15 22:13:28 +01:00
Jørgen Henrichsen
e2effcc6ba
Example project.
2018-03-11 19:03:37 +01:00
Jørgen Henrichsen
626b8611ef
Initial commit
2018-03-11 11:38:45 +01:00