54 Commits

Author SHA1 Message Date
tanhakabir 96092a208c Add files per Xcode 9.3 2021-02-22 17:37:07 -08:00
tanhakabir dd54d81573 implement streaming cancellation (#32)
* cancels streaming initally, but player enters weird state trying to stream again

* calling superclass invalidate from engines for good measure

* Fix UI to fix seemingly weird state

* Fix error warning
2020-03-06 23:52:22 -08:00
tanhakabir ebc282d5c2 fix crash on cancel streaming pressed (#30) 2020-03-06 23:28:30 -08:00
tanhakabir fe2395066f Add equalizer example (#28)
* project configure for me

* to see log

* set project

* new UI

* fix ui

* re-fix UI

* add example of equalizer

* Revert "re-fix UI"

This reverts commit 05ed993a52.

* Revert "fix ui"

This reverts commit 0da9f6adea.

* Revert "new UI"

This reverts commit ffd6a95a2d.

* Add verbose debug mode to player

Co-authored-by: cendolinside123 <jnsbstn391@gmail.com>
2020-01-21 00:27:51 -08:00
tanhakabir b355eb4e09 add api for buffer progress in SAAvailabilityRange (#24) 2020-01-04 02:02:56 -08:00
tanhakabir 196b04a703 Rename and deprecate initialize functions (#23) 2019-12-18 21:22:28 -08:00
tanhakabir 5197a16023 Fix live streams/servers with unpredictable size at beginning of stream being playable (#21)
* Handle case when header for stream does not contain expected content

* update documentation

* fix elapsed time updating on seek in example app
2019-12-18 00:22:31 -08:00
tanhakabir 07230cce1a add another status to PlayingStatus for end of audio (#19) 2019-12-03 01:42:56 -08:00
tanhakabir fc9c43a23c Update accessing bytes of Data for Swift 5 (#17) 2019-11-29 17:16:53 -08:00
tanhakabir f1200252be Update to Swift 5 (#16) 2019-11-28 21:36:30 -08:00
Tanha 70ba1c757e add controls for realtime reverb change in example app 2019-11-26 01:02:06 -08:00
Tanha cf028e0e36 nit rename 2019-11-26 00:52:08 -08:00
Tanha 90ac3a4336 clean up typing for rate 2019-11-25 22:23:05 -08:00
Tanha 395364b4eb test run with more modifiers 2019-11-25 22:17:55 -08:00
Tanha 7d81953b83 removed usage of rate/speed within the engine 2019-11-25 22:10:57 -08:00
Tanha feb69174ae refactor to have external to library control nodes 2019-11-25 21:57:55 -08:00
Tanha 00eee68aab silenced warnings for example app 2019-11-25 21:01:53 -08:00
Tanha 09142ce2d4 update to Swift 4.2 2019-11-25 20:57:54 -08:00
tanhakabir cd35f38db1 Merge pull request #13 from tanhakabir/fix_ui_seeking_bug
Fix ui when seeking to show "Loading" when not enough buffers ready
2019-11-25 10:44:28 -08:00
cendolinside123 3c752d581d Fix miniplayer on background (#12)
* 1. fix AVAudioSession configuration

* 1. fix seek bar didn't update on miniplayer on lockscreen when playing a song
2. setup miniplayer lockscreen seek bar speed (when slide  rate slider)

* setup project example to playing on the background
2019-11-25 10:44:00 -08:00
Tanha 1f20a48a20 fix example app bug 2019-11-25 10:37:11 -08:00
Tanha 5ac5b93ac4 separate enum to another file 2019-11-24 23:27:51 -08:00
Tanha 0aeb8b0f88 change boolean playing status to enum 2019-11-21 01:46:42 -08:00
Tanha 936de8c996 minor fix 2019-11-20 23:10:03 -08:00
Tanha e986be9db5 clean up example app 2019-11-20 22:27:31 -08:00
cendolinside123 873e537301 fix seek bar on example app's player (#9) 2019-11-20 22:09:11 -08:00
tanhakabir d0296ab012 Fix issue on streaming where it gets stuck in paused state and error of no more data to parse (#8)
* switch out audio clip for soundbite

* Fix being stuck in state of needing more data from the throttler
2019-11-20 16:35:31 -08:00
tanhakabir 2fd944d88e Fix play/pausing issue for saved audio (#7)
* update callback guards for updates for saved audio

* Fix play/pausing bug for saved audio
2019-11-20 13:38:52 -08:00
tanhakabir fc98c4c1c4 add separation of disk engine in SAPlayer, first iteration (#6) 2019-11-19 16:25:29 -08:00
Tanha 0c7bcdcf90 Fix issue on example app that prevented downloaded audio being playable 2019-11-18 11:42:02 -08:00
Tanha 0121d05dff refractor deletion of downloaded files 2019-04-27 21:54:42 -07:00
Tanha 103838d1b8 add UI to see where file is saved on device 2019-04-27 19:43:43 -07:00
Tanha aea6f5efaa add completion handler for individual entities to receive when download complete upon calling start 2019-04-22 15:30:11 -07:00
Tanha e6460513ea start piping for passing completion handlers for downloads 2019-02-28 14:45:50 -08:00
Tanha 23f445ce4d seperate downloader from rest of SAPlayer implementation 2019-02-25 01:33:18 -08:00
Tanha e563ba2f99 update requirements to iOS 10.0 2019-02-24 12:04:20 -08:00
Tanha 5eb08dcca3 add seek functionality 2019-02-21 23:59:10 -08:00
Tanha 8565485253 add play pause functionality 2019-02-21 19:36:20 -08:00
Tanha cc744a20c7 add streaming 2019-02-21 19:27:38 -08:00
Tanha c43b10d38d nit 2019-02-21 18:44:41 -08:00
Tanha ed61a41267 example app downloading audio 2019-02-21 18:33:03 -08:00
Tanha 58d1695cba add basic UI elements 2019-02-20 16:20:46 -08:00
Tanha 6bdfc917e3 nit 2019-02-18 20:27:21 -08:00
Tanha af739b0efb add interface for external subscribing to updates 2019-02-18 19:35:26 -08:00
Tanha 6f203c94b0 refractor SAPlayerPresenter 2019-02-18 16:11:50 -08:00
Tanha 81852fb94c move new file to proper target 2019-02-18 12:58:19 -08:00
Tanha d0028620e6 add download progress director 2019-02-18 00:57:10 -08:00
Tanha 0c383da201 clean up licensing 2019-02-05 10:23:45 -08:00
Tanha 8a7b9d6d7b remove extraneous functions from model layer 2019-01-30 13:41:47 -08:00
Tanha d3b9a68443 rename fix 2019-01-29 15:32:43 -08:00