Commit Graph

37 Commits

Author SHA1 Message Date
Thong Nguyen a615419404 Fixed deployment target min should be 4.3 not 6.0 2014-04-05 13:15:43 +01:00
Thong Nguyen 60d48a0682 Added the ability to dynamically remove or add EQ unit to save battery when EQ unit is not needed 2014-02-11 19:24:41 +00:00
Thong Nguyen dee6322751 Set default kAudioUnitProperty_MaximumFramesPerSlice on all audio units to 4096 to fix playback problems on lockscreen 2014-02-10 23:14:32 +00:00
Thong Nguyen ce30f0de57 New AudioGraph creation code mostly done. EQ working on iOS and OSX 2014-02-10 13:25:17 +00:00
Thong Nguyen a58269fcdb Got EQ working (iOS5 and OSX 10.9). Changed OSX projects to use 10.9 SDK 2014-02-09 23:32:49 +00:00
Thong Nguyen 693c5ed059 Started adding EQ 2014-02-05 20:22:29 +00:00
Thong Nguyen 63bb19747f Changed STKAudioPlayerOptions to be a struct rather than enum. Most values that can be tweaked can be provided in constructor. Fixed deadlock if createAudioGraph fails 2014-02-05 14:18:37 +00:00
Thong Nguyen 0a6e1d4534 Added volume support via volume property using mixer on iOS and mixer or standard output unit volume property on OSX 2014-02-04 16:46:30 +00:00
Thong Nguyen d49e2849eb Removed unnecessary synthesized properties. Made STKFrameFilterEntry public readonly. Removed AudioUnit framework requirement for iOS n podspec 2014-02-03 17:23:53 +00:00
Thong Nguyen fed674d774 Updated README 2014-02-02 23:51:44 +00:00
Thong Nguyen 1c78dc5867 Changed canonical format to fixed point for all platforms. Added metering view on ExampleAppMac 2014-02-02 14:19:12 +00:00
Thong Nguyen 70368a09ba Added pendingQueue, pendingQueueCount, mostRecentlyQueuedStillPendingItem. Added more documentation comments. Changed STKAudioPlayerInternalState to be private/hidden 2014-02-02 12:48:24 +00:00
Thong Nguyen 018da7a2eb Slight layout fix for AudioPlayerView 2014-02-01 23:29:39 +00:00
Thong Nguyen d347e5e80c Added mute/unmute support 2014-02-01 23:24:06 +00:00
Thong Nguyen 4d73784338 Added audio frame filtering and level metering support using Audio Units 2014-02-01 23:04:55 +00:00
Thong Nguyen 8c94b9ba5c Added WAV file test to test app 2014-01-31 22:45:17 +00:00
Thong Nguyen c2fe2c68b2 Started adding framefilter support for EQ etc. Fixed seek bug with WAV files 2014-01-31 22:18:09 +00:00
Thong Nguyen 83bc40d5fc More documentation. STKAutoRecoveringHTTPDataSource is now default for HTTP 2014-01-31 20:46:41 +00:00
Thong Nguyen a0a9553631 Big refactor to remove remanents of AudioQueue code. Added safety locks when working with 64bit floats and ints across threads 2014-01-31 20:20:20 +00:00
Thong Nguyen e7a952d248 Progress and seek now supported 2014-01-31 12:22:22 +00:00
Thong Nguyen 511185c929 More Audio Units work 2014-01-30 18:22:31 +00:00
Thong Nguyen b8528e30c5 Added remote control event handling to AppDelegate so that example app will show play icon in status bar 2014-01-29 22:30:52 +00:00
Thong Nguyen 8dd611c2ac Prefixed all enum names and values 2014-01-28 14:04:58 +00:00
Thong Nguyen 7608a42d29 Fixed dispose call hanging if player or audio thread are doing sync calls to the UI thread. Better rebuffering on 2G 2014-01-26 20:37:06 +00:00
Thong Nguyen bd1d3c9aea A lot more support and fixups for rebuffering including new AudioPlayerStateBuffering state 2014-01-26 15:30:16 +00:00
Thong Nguyen e843a0b730 Refactor and optimisation of STKHTTPDataSource and STKAutoRecoveringHTTPDataSource 2014-01-25 14:11:32 +00:00
Thong Nguyen 48ce1f9e67 Renamed all Http classes to HTTP. Udpated STKHTTPDataSource to accept asynchronous URL providers. Chnaged STKAudioPlaye to always flush upcoming queue when currently playing track is seeked 2014-01-23 16:23:18 +00:00
Thong Nguyen 257532c6c9 Added progress text to example app. Fixed finishedEvent not always being raised when user seeks to the last byte of the track 2014-01-23 12:43:22 +00:00
Thong Nguyen c100cb7202 Using a better mechanism for picking up when the last file on the queue is finished. Dont async-stop the AudioQueue unless it's nearing the end (handled in handleAudioQueueOutput rathe than dataSourceEof) 2014-01-22 22:41:24 +00:00
Thong Nguyen 593a08a04f Using a better mechanism for picking up when the last file on the queue is finished. Dont async-stop the AudioQueue unless it's nearing the end (handled in handleAudioQueueOutput rathe than dataSourceEof) 2014-01-22 22:40:23 +00:00
Thong Nguyen 1c9bd328e7 Removed test code and fixed an issue with not properly checking if the current queue should be stopped cause it's the last in the queue 2014-01-22 19:43:36 +00:00
Thong Nguyen dde738dffd Fixed finished event not raised if item is only item in queue. New timeline method of checking whether item has finished playing won't work if item is the only or last item in the queue as handleAudioQueueOutput isn't called once last packet is played (it's gets called if other items are queued). If no items are queued, the queue is stopped and the queue property event is used to figure out if its finished playing 2014-01-22 19:34:17 +00:00
Thong Nguyen c9ba30b692 Removed iOS7 specific calls. Changed default target to iOS 4.3 2014-01-21 15:48:12 +00:00
Thong Nguyen 9b952de734 Updated STKHttpDataSource to support dynamically generated URLs with each 'open' or 'seek') 2014-01-20 23:14:59 +00:00
Thong Nguyen a93d6867c5 Made the SampleApp support background playback. Updated README to point to wiki for background playbackr 2014-01-20 20:53:55 +00:00
Thong Nguyen 4660f0ce80 Fixed hard coded library search path in ExampleApp project 2014-01-20 19:22:48 +00:00
Thong Nguyen 18fc7353f9 Renamed project to StreamingKit and addded STK classes prefixes. Separated library and sample app into discrete projects inside a workspace. 2014-01-20 15:42:28 +00:00