Commit Graph

192 Commits

Author SHA1 Message Date
Thong Nguyen ce6f2b9512 Fixed audio thread may set the state to playing even in certain conditions even if the player has been user-paused or stopped (race condition) 2014-02-05 18:05:47 +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 f725ed0b2c Added additional queue/play methods 2014-02-03 13:50:15 +00:00
Thong Nguyen 55a96578b4 Updated README 2014-02-03 13:37:10 +00:00
Thong Nguyen 16855e81dc Updated README 2014-02-03 13:33:40 +00:00
Thong Nguyen fed674d774 Updated README 2014-02-02 23:51:44 +00:00
Thong Nguyen c6e1b113dc Updated README 2014-02-02 15:33:15 +00:00
Thong Nguyen 43a9f8b26f Updated README 2014-02-02 15:30:34 +00:00
Thong Nguyen db5b9d92ed Updated README 2014-02-02 15:24:36 +00:00
Thong Nguyen 5398bfcedb Updated podspecs to include OSX 2014-02-02 15:15:48 +00:00
Thong Nguyen d63a99b5fb Merged new AudioUnit based STKAudioPlayer back into master 2014-02-02 14:27:20 +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 4df5a84569 Added OSX build targets and ExampleAppMac. Added AudioUnit as a dependent framework in podspec 2014-02-02 13:14:37 +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 98c7d9b8f0 STKAudioPlayer:dataSourceFromURL uses case insensitive scheme compare 2014-02-01 00:29:02 +00:00
Thong Nguyen 56b2dd4ace Better range/length handling in STKHTTPDataSource. Handles out-of-range requests gracefully 2014-02-01 00:23:23 +00:00
Thong Nguyen a9b1e143a0 queueDataSource shold let playback thread automatically start the audio unit 2014-01-31 23:19:29 +00:00
Thong Nguyen c4a7251d19 Fixed potential crash when OutputRenderCallback is called with no items in the queue or playing 2014-01-31 23:07:49 +00:00
Thong Nguyen ae63d04b87 Don't stop audio player immediately when finished playing---wait until next runloop 2014-01-31 23:02:19 +00:00
Thong Nguyen dd7165b3d2 Fixed player somtimes waiting in buffering state for very small files 2014-01-31 22:58:07 +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 b903ee58cc Formatting fixes 2014-01-31 20:39:51 +00:00
Thong Nguyen 70fe37cd4a Added missing status checks 2014-01-31 20:35:44 +00:00
Thong Nguyen f321f1a0d7 More code tidy-ups 2014-01-31 20:33:15 +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 ddc6cf4b2f Fixed newly set datasource is not immediately loaded because render callback changes resets the STKAudioPlayerInternalStatePendingNext state 2014-01-31 15:12:30 +00:00
Thong Nguyen 22e954a5e2 Added AudioUnit based progress/seek and queueing support 2014-01-31 14:40: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 15b18069e3 Started removing legacy AudioQueue code 2014-01-30 12:46:41 +00:00
Thong Nguyen 6df11418f7 Started removing legacy AudioQueue code 2014-01-30 12:46:26 +00:00
Thong Nguyen 9e04cc9e72 Merge branch 'master' of https://github.com/tumtumtum/StreamingKit 2014-01-29 23:31:34 +00:00
Thong Nguyen cdb6f27a53 Disabled input IO when creating Audio Unit 2014-01-29 22:40:34 +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 d5e531c602 Removed AudioUnit kAudioUnitScope_Output init code 2014-01-29 22:26:31 +00:00
Thong Nguyen 8d61f3a3e3 Removed AudioUnit kAudioUnitScope_Output init code 2014-01-29 22:25:25 +00:00
Thong Nguyen b0466171f6 Removed AudioUnit kAudioUnitScope_Output init code 2014-01-29 22:22:23 +00:00
Thong Nguyen 10d799a35f Got basic playback mostly working using AudioUnits 2014-01-29 22:09:38 +00:00
Thong Nguyen 08eaa7e85b Some more test work with using Audio Units 2014-01-29 18:41:29 +00:00
Thong Nguyen cd0dd97ebf Started experimenting with using AudioUnits rather than AudioQueues 2014-01-29 09:38:24 +00:00
Thong Nguyen b2eeb76c90 Fix STKAutoRecoveringHTTPDataSource not passing on unregisterForEvents. Fix STKCoreFoundationDataSource not unregisteringForEvents on dealloc 2014-01-29 09:27:51 +00:00
Thong Nguyen 5a6d93d7c1 Started experimenting with using AudioUnits rather than AudioQueues 2014-01-28 20:53:03 +00:00
Thong Nguyen 8dd611c2ac Prefixed all enum names and values 2014-01-28 14:04:58 +00:00