Commit Graph

  • e805e4740c More Spectrum Analyzer work spectrum Thong Nguyen 2014-04-24 18:22:40 +01:00
  • 484285df84 Started work on Spectrum Analyzer Thong Nguyen 2014-04-23 18:03:23 +01:00
  • a9dfb2eddf Fixed thread related crashes in OutputRenderCallback 0.1.22 Thong Nguyen 2014-04-07 15:28:34 +01:00
  • 3fcf054a23 Fix STKAudioPlayer.progress property thread-related crash Thong Nguyen 2014-04-07 15:15:36 +01:00
  • a615419404 Fixed deployment target min should be 4.3 not 6.0 0.1.21 Thong Nguyen 2014-04-05 13:15:43 +01:00
  • e43a4613f8 startInternal now cleans up audio resources when the playback thread is finished. Added fix for undefned DBL_MAX Thong Nguyen 2014-04-05 13:08:58 +01:00
  • ca928dfe1e Removed buffering work (now in different branch) Thong Nguyen 2014-03-24 16:32:38 +00:00
  • bf13ba318f Buffering branch buffering Thong Nguyen 2014-03-13 18:15:27 +00:00
  • d7d583c3ba Some chunking/paging buffering data source work Thong Nguyen 2014-02-24 17:05:54 +00:00
  • 7540045361 Some buffering data source tests/work Thong Nguyen 2014-02-20 17:10:51 +00:00
  • 972ae0e15b Some more buffering data source work Thong Nguyen 2014-02-18 19:02:47 +00:00
  • e3ed6c6dee Removed AudioDataSource (for now). Changed all int64_t and long long types to SInt64. Started adding Buffered data source Thong Nguyen 2014-02-18 13:38:03 +00:00
  • 3398e8c64e Explicitly wakeup playback thread if a delayed seek was queued Thong Nguyen 2014-02-16 17:07:39 +00:00
  • f99201f54d Explicitly wakeup playback thread if a delayed seek was queued Thong Nguyen 2014-02-16 17:07:10 +00:00
  • 44b9e7d2d1 Removed errant NSLog Thong Nguyen 2014-02-16 16:50:54 +00:00
  • 7aae2bcb6b Allow queueing of a seek request for a file before it has loaded Thong Nguyen 2014-02-16 16:50:12 +00:00
  • 5a8068b859 STKAutoRecoveringHTTPDataSource shouldn't retry if inner data source no longer is registered Thong Nguyen 2014-02-16 11:57:23 +00:00
  • 728fc5bb21 More controllable grace period for waiting for data after seek Thong Nguyen 2014-02-16 11:43:01 +00:00
  • c4053c964e Smaller setting for STK_CYCLES_REQUIRED_BEFORE_SEEK_BECOMES_PLAYING Thong Nguyen 2014-02-16 01:49:23 +00:00
  • c31df15a43 STKAudioPlayerInternalStateWaitingForDataAfterSeek no longer considered a buffering state externally. STKAudioPlayerInternalStateWaitingForDataAfterSeek turns into a playing state after a certain period. Prevents flapping between states when seeking tracks Thong Nguyen 2014-02-16 01:24:08 +00:00
  • 923baf5b89 STKAudioPlayerInternalStatePendingNext and STKAudioPlayerInternalStateWaitingForDataAfterSeeks are both now considered STKAudioPlayerStateBuffering states externally Thong Nguyen 2014-02-15 22:02:56 +00:00
  • 9199785202 Better backgroundTask start/stopping using blocks to safely avoid referencing STKAudioPlayer Thong Nguyen 2014-02-15 17:04:52 +00:00
  • 0618027252 Fixed iOS background task holding onto a reference to STKAudioPlayer and preventing it from being dealloc immediately Thong Nguyen 2014-02-15 16:55:16 +00:00
  • 188f880f5a Tidied up some warnings Thong Nguyen 2014-02-14 22:19:41 +00:00
  • ae9cee68f0 Slightly better bitrate calculation for VBR files Thong Nguyen 2014-02-14 22:06:46 +00:00
  • eeece64417 Changed duration calculation to work better with short files Thong Nguyen 2014-02-14 18:34:55 +00:00
  • 243dc1f8a2 Fixed STKAudioPlayer:stop sometimes blocking too long Thong Nguyen 2014-02-14 14:49:03 +00:00
  • 8c608440ae Merge pull request #81 from AndrewKosovich/master Thong Nguyen 2014-02-14 12:16:10 +00:00
  • 9aed1b082a Ported error handling from the previous Audjustable player. STKDataSource is designed to return values < 0 in case of error, but new STKAudioPlayer doesn't handle that, which causes crash few lines later when calling AudioFileStreamParseBytes with read<0. Andrew Kosovich 2014-02-14 13:37:43 +02:00
  • 6eb149f83a Progress now returns 0 if player is stopped Thong Nguyen 2014-02-13 22:24:26 +00:00
  • 1243dbf0e1 setDataSource now immediately stops whatever is currently playing. STKAutoRecoveringHTTPDataSource watchdog timer improvements Thong Nguyen 2014-02-13 22:02:48 +00:00
  • a15c2c27ff Fixed stream not set to nil when error occurs when opening Thong Nguyen 2014-02-13 18:06:24 +00:00
  • aa441045aa Fixed pendingQueue and mostRecentlyQueuedStillPendingItem returning STKQueueEntry instead of queueItemId Thong Nguyen 2014-02-13 17:54:24 +00:00
  • 569764d869 Added watchdog to STKAutoRecoveringHTTPDataSource to catch TCP timeouts which otherwise would not raise an error since we aren't do any writes to the socket Thong Nguyen 2014-02-13 17:33:45 +00:00
  • 511b756694 Fixed pendingQueue and mostRecentlyQueuedStillPendingItem returning STKQueueEntry instead of original queueItemId Thong Nguyen 2014-02-13 11:58:19 +00:00
  • ab0c4d1315 STKAutoRecoveringHTTPDataSource now stops retrying to connect if DataSource no longer has an event loop Thong Nguyen 2014-02-13 11:34:05 +00:00
  • 6216abb0ab Changed STKCoreFoundationDataSource to not open in registerForEvents (delay open and registration) Thong Nguyen 2014-02-12 23:09:53 +00:00
  • 8c5b4fb298 Fixed openForSeek on STKHTTPDataSource potentially handling old URLs if URL provider is async Thong Nguyen 2014-02-12 19:53:21 +00:00
  • 03e9b8b208 Updated README Thong Nguyen 2014-02-11 23:13:34 +00:00
  • 60d48a0682 Added the ability to dynamically remove or add EQ unit to save battery when EQ unit is not needed 0.1.20 Thong Nguyen 2014-02-11 19:24:41 +00:00
  • dee6322751 Set default kAudioUnitProperty_MaximumFramesPerSlice on all audio units to 4096 to fix playback problems on lockscreen Thong Nguyen 2014-02-10 23:14:32 +00:00
  • 5e3048a7bf Merge branch 'nbandeq' Thong Nguyen 2014-02-10 14:15:37 +00:00
  • ac7aabf746 Removed EQ support for OSX < 10.9 nbandeq Thong Nguyen 2014-02-10 14:14:59 +00:00
  • ce30f0de57 New AudioGraph creation code mostly done. EQ working on iOS and OSX Thong Nguyen 2014-02-10 13:25:17 +00:00
  • a58269fcdb Got EQ working (iOS5 and OSX 10.9). Changed OSX projects to use 10.9 SDK Thong Nguyen 2014-02-09 23:32:49 +00:00
  • 3ecba8c8b4 Some more EQ work Thong Nguyen 2014-02-07 18:30:54 +00:00
  • c98b673064 Refactoring how the graph and nodes are created Thong Nguyen 2014-02-07 09:43:47 +00:00
  • 13fc64baa2 Merge pull request #77 from AndrewKosovich/master Thong Nguyen 2014-02-06 17:20:17 +00:00
  • 5e4b500785 Fixed crash in the STKHTTPDataSource. Andrew Kosovich 2014-02-06 18:33:03 +02:00
  • 693c5ed059 Started adding EQ Thong Nguyen 2014-02-05 20:22:29 +00:00
  • a15405b6c5 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) Thong Nguyen 2014-02-05 19:05:47 +00:00
  • 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) Thong Nguyen 2014-02-05 18:05:47 +00:00
  • 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 Thong Nguyen 2014-02-05 14:18:37 +00:00
  • 0a6e1d4534 Added volume support via volume property using mixer on iOS and mixer or standard output unit volume property on OSX Thong Nguyen 2014-02-04 16:46:30 +00:00
  • d49e2849eb Removed unnecessary synthesized properties. Made STKFrameFilterEntry public readonly. Removed AudioUnit framework requirement for iOS n podspec 0.1.19 Thong Nguyen 2014-02-03 17:23:53 +00:00
  • f725ed0b2c Added additional queue/play methods Thong Nguyen 2014-02-03 13:50:15 +00:00
  • 55a96578b4 Updated README Thong Nguyen 2014-02-03 13:37:10 +00:00
  • 16855e81dc Updated README Thong Nguyen 2014-02-03 13:33:40 +00:00
  • fed674d774 Updated README Thong Nguyen 2014-02-02 23:51:44 +00:00
  • c6e1b113dc Updated README Thong Nguyen 2014-02-02 15:33:15 +00:00
  • 43a9f8b26f Updated README Thong Nguyen 2014-02-02 15:30:34 +00:00
  • db5b9d92ed Updated README Thong Nguyen 2014-02-02 15:24:36 +00:00
  • 5398bfcedb Updated podspecs to include OSX 0.1.18 Thong Nguyen 2014-02-02 15:15:48 +00:00
  • d63a99b5fb Merged new AudioUnit based STKAudioPlayer back into master Thong Nguyen 2014-02-02 14:27:20 +00:00
  • 1c78dc5867 Changed canonical format to fixed point for all platforms. Added metering view on ExampleAppMac audiounit Thong Nguyen 2014-02-02 14:19:12 +00:00
  • 4df5a84569 Added OSX build targets and ExampleAppMac. Added AudioUnit as a dependent framework in podspec Thong Nguyen 2014-02-02 13:14:37 +00:00
  • 70368a09ba Added pendingQueue, pendingQueueCount, mostRecentlyQueuedStillPendingItem. Added more documentation comments. Changed STKAudioPlayerInternalState to be private/hidden Thong Nguyen 2014-02-02 12:48:24 +00:00
  • 018da7a2eb Slight layout fix for AudioPlayerView Thong Nguyen 2014-02-01 23:29:39 +00:00
  • d347e5e80c Added mute/unmute support Thong Nguyen 2014-02-01 23:24:06 +00:00
  • 4d73784338 Added audio frame filtering and level metering support using Audio Units Thong Nguyen 2014-02-01 23:04:55 +00:00
  • 98c7d9b8f0 STKAudioPlayer:dataSourceFromURL uses case insensitive scheme compare Thong Nguyen 2014-02-01 00:29:02 +00:00
  • 56b2dd4ace Better range/length handling in STKHTTPDataSource. Handles out-of-range requests gracefully Thong Nguyen 2014-02-01 00:23:23 +00:00
  • a9b1e143a0 queueDataSource shold let playback thread automatically start the audio unit Thong Nguyen 2014-01-31 23:19:29 +00:00
  • c4a7251d19 Fixed potential crash when OutputRenderCallback is called with no items in the queue or playing Thong Nguyen 2014-01-31 23:07:49 +00:00
  • ae63d04b87 Don't stop audio player immediately when finished playing---wait until next runloop Thong Nguyen 2014-01-31 23:02:19 +00:00
  • dd7165b3d2 Fixed player somtimes waiting in buffering state for very small files Thong Nguyen 2014-01-31 22:58:07 +00:00
  • 8c94b9ba5c Added WAV file test to test app Thong Nguyen 2014-01-31 22:45:17 +00:00
  • c2fe2c68b2 Started adding framefilter support for EQ etc. Fixed seek bug with WAV files Thong Nguyen 2014-01-31 22:18:09 +00:00
  • 83bc40d5fc More documentation. STKAutoRecoveringHTTPDataSource is now default for HTTP Thong Nguyen 2014-01-31 20:46:41 +00:00
  • b903ee58cc Formatting fixes Thong Nguyen 2014-01-31 20:39:51 +00:00
  • 70fe37cd4a Added missing status checks Thong Nguyen 2014-01-31 20:35:44 +00:00
  • f321f1a0d7 More code tidy-ups Thong Nguyen 2014-01-31 20:33:15 +00:00
  • a0a9553631 Big refactor to remove remanents of AudioQueue code. Added safety locks when working with 64bit floats and ints across threads Thong Nguyen 2014-01-31 20:20:20 +00:00
  • ddc6cf4b2f Fixed newly set datasource is not immediately loaded because render callback changes resets the STKAudioPlayerInternalStatePendingNext state Thong Nguyen 2014-01-31 15:12:30 +00:00
  • 22e954a5e2 Added AudioUnit based progress/seek and queueing support Thong Nguyen 2014-01-31 14:40:20 +00:00
  • e7a952d248 Progress and seek now supported Thong Nguyen 2014-01-31 12:22:22 +00:00
  • 511185c929 More Audio Units work Thong Nguyen 2014-01-30 18:22:31 +00:00
  • 15b18069e3 Started removing legacy AudioQueue code Thong Nguyen 2014-01-30 12:46:41 +00:00
  • 6df11418f7 Started removing legacy AudioQueue code Thong Nguyen 2014-01-30 12:46:26 +00:00
  • 9e04cc9e72 Merge branch 'master' of https://github.com/tumtumtum/StreamingKit Thong Nguyen 2014-01-29 23:31:34 +00:00
  • cdb6f27a53 Disabled input IO when creating Audio Unit Thong Nguyen 2014-01-29 22:40:34 +00:00
  • b8528e30c5 Added remote control event handling to AppDelegate so that example app will show play icon in status bar Thong Nguyen 2014-01-29 22:30:52 +00:00
  • d5e531c602 Removed AudioUnit kAudioUnitScope_Output init code Thong Nguyen 2014-01-29 22:26:31 +00:00
  • 8d61f3a3e3 Removed AudioUnit kAudioUnitScope_Output init code Thong Nguyen 2014-01-29 22:25:25 +00:00
  • b0466171f6 Removed AudioUnit kAudioUnitScope_Output init code Thong Nguyen 2014-01-29 22:22:23 +00:00
  • 10d799a35f Got basic playback mostly working using AudioUnits Thong Nguyen 2014-01-29 22:09:38 +00:00
  • 08eaa7e85b Some more test work with using Audio Units Thong Nguyen 2014-01-29 18:41:29 +00:00
  • cd0dd97ebf Started experimenting with using AudioUnits rather than AudioQueues Thong Nguyen 2014-01-28 20:53:03 +00:00
  • b2eeb76c90 Fix STKAutoRecoveringHTTPDataSource not passing on unregisterForEvents. Fix STKCoreFoundationDataSource not unregisteringForEvents on dealloc Thong Nguyen 2014-01-29 09:27:51 +00:00
  • 5a6d93d7c1 Started experimenting with using AudioUnits rather than AudioQueues Thong Nguyen 2014-01-28 20:53:03 +00:00