Jørgen Henrichsen
457dff7c01
Use weak capturing of the AudioPlayer. Remove initial time test.
...
Weak capturing of the AudioPlayer is done in the listener callback functions in order to not receive INVOPs in the event the audioPlayer is deallocated.
The initial time test is removed because of the unreliable results it produces.
2019-06-23 18:06:43 +02:00
Jørgen Henrichsen
60eb4b4676
Removed the currentTime test.
...
Removes the test that always fails in the CI env at bitrise.
2019-06-18 11:30:47 +02:00
Jørgen Henrichsen
4ec9e9c2a2
Update currentTime tests.
...
Use a shorter `timeEventFrequenct` in order to recieve the callback quicker, so the test can pass quicker.
2019-06-18 11:16:04 +02:00
Jørgen Henrichsen
b2efdf4d65
Rewrote the current time test.
...
Checks each time a second elapses, instead of just at state == `playing`.
2019-06-13 22:33:41 +02:00
Jørgen Henrichsen
4d0f29adf6
Increased timeout for expectations.
2019-06-13 21:42:47 +02:00
Jørgen Henrichsen
f817bc5840
Wrote AudioPlayerTests using the XCTest framework.
2019-06-13 21:42:47 +02:00
Jørgen Henrichsen
83ac2af5d6
Set timepitchingalgo on audio ready. Update tests to support async loading.
2019-06-13 21:10:57 +02:00
Jørgen Henrichsen
ae760c4cac
Put events in seperate struct.
...
Makes it easier to discover which events are available.
2019-03-10 09:37:00 +01:00
Jørgen Henrichsen
757e5f476c
Use direct closure handlers for events.
2019-03-10 01:02:04 +01:00
Jørgen Henrichsen
29660371c9
Updated tests to use events.
2019-03-09 21:30:02 +01:00
Jørgen Henrichsen
6cc0638a70
Add possiblity to start AudioItem from certain time.
2019-02-24 11:58:03 +01:00
Jørgen Henrichsen
9919bde9fe
Fixed compiler warnings.
2018-12-23 14:28:44 +01:00
Jørgen Henrichsen
69d3a9c0c0
Test TimePitchAlgorithms in the AudioPlayer.
2018-11-14 10:06:14 +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
e917867220
Updated tests
2018-10-28 19:24:20 +01:00
Jørgen Henrichsen
460af7ab1e
Added tests for the currentItem in the AudioPlayer
2018-10-28 12:44:52 +01:00
Jørgen Henrichsen
b44777fcd7
Changed method signature for loading items.
2018-10-26 11:28:55 +02:00
Jørgen Henrichsen
10e6c46c18
Updated AudioPlayer tests
2018-10-26 11:18:26 +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
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
1261f88803
Removed play to end tests.
2018-08-18 09:29:44 +02:00
Jørgen Henrichsen
a63771a040
More tests for AVPlayerWrapper and AudioPlayer
2018-08-18 09:03:06 +02:00
Jørgen Henrichsen
bf0d3a79dd
Use a smaller, silent test sound.
2018-08-05 14:59:31 +02:00
Jørgen Henrichsen
22dec9d6b1
Use low buffer duration when testing audio
2018-08-05 13:48:39 +02:00
Jørgen Henrichsen
dafcbdfe3e
Set automaticallyWaitsToMinimizeStalling to false in test case
2018-08-05 13:04:46 +02:00
Jørgen Henrichsen
7681d5d983
Added AudioPlayerTests
2018-08-05 12:22:39 +02: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
8da4b606c5
Update travis config
...
pod install
2018-03-19 00:02:27 +01:00
Jørgen Henrichsen
80254146f7
Audioplayer state tests.
2018-03-18 18:12:48 +01:00
Jørgen Henrichsen
953d182b7d
Added volume config to audioplayer.
2018-03-18 17:08:07 +01:00