David Chavez
57b6fb08f3
Fix tests
2021-08-12 11:40:21 +02:00
David Chavez
7370ad05e6
Add support for metadata updates ( #3 )
2021-05-29 22:54:41 +02:00
Jørgen Henrichsen
ec9492da17
Add tests for the loading state.
2019-07-03 17:48:28 +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
5755b70e1b
Rewrote AVPlayerWrapperTests 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
af4635d047
Remove AVPlayer parameter from init in both AudioPlayer and AVPlayerWrapper.
2019-05-11 19:29:36 +02:00
Jørgen Henrichsen
46022ef0d6
Add event when AVPlayer is recreated.
...
The AudioSession category will need to be set again when this event is emitted.
2019-05-11 17:56:43 +02:00
Jørgen Henrichsen
6ea2e082b0
Call func audioPlayer(itemPlaybackEndedWithReason:) directly, instead of calling the AVWrapperDelegate implementation method.
...
Also remove the corresponding delegate method in the AVWrapper, and add a `AVWrapperItemDidPlayToEndTime` method instead.
2019-03-03 20:04:27 +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
e57cf9d2e5
Increase timescale in seekto(time:) method.
...
Stops truncating of the seeked to time.
Also updated seekTo test to actually test the seeked value.
2019-01-31 18:31:34 +01:00
Jørgen Henrichsen
9e3f5c0291
Use longer source for duration testing.
2018-12-23 14:36:39 +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
336d5586bf
Added a couple of tests to the AVPlayerWrapper
2018-10-28 22:29:29 +01: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
e8354dfdfb
Test play()/pause() with no item loaded
2018-10-10 08:55:53 +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
9008c6f9a0
Renamed the delegate holder
2018-08-05 12:23:44 +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
d2ed064295
Test seeking function of AVPlayerWrapper
2018-08-05 09:07:34 +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
bf02f1423d
Restructured and renamed classes to make usage if the player better.
2018-03-19 10:50:49 +01:00