Commit Graph

38 Commits

Author SHA1 Message Date
Thong Nguyen 08287bc6a7 Merge pull request #24 from gangverk/master
Add support for HE-AAC
2013-05-17 11:26:45 -07:00
Piers f8887b7ff1 Add support for HE-AAC
The code for handling HE-AAC has been copied from Matt Gallagher's
AudioStreamer library.

https://github.com/mattgallagher/AudioStreamer/blob/master/Classes/AudioStreamer.m#L1605
2013-05-15 16:29:24 +00:00
Thong Nguyen 02e87c1221 Merge branch 'master' of https://github.com/tumtumtum/audjustable 2013-04-17 13:07:51 +01:00
Thong Nguyen d52c012514 Some format fixes 2013-04-17 13:07:48 +01:00
Piers 4a60b768be Merge branch 'master' into bugfix/continuous-date-allocation 2013-04-17 10:11:18 +00:00
Piers 4e019bfcf2 Fix continual allocation of auto-releaseable NSDate objects
The startInterval method of the AudioPlayer module causes a
continually increasing number of NSDate objects to be
allocated. The auto-release pool which wraps this code doesn't
drain frequently enough causing an application's memory
footprint to grow by roughly a megabyte every 5 minutes.
2013-04-17 09:37:57 +00:00
Thong Nguyen 7dca2e55ac Fix memory leak in HttpDataSource:dataAvailable 2013-04-08 20:20:09 +01:00
Alexey Blinov 25571f9830 Fixed AudioPlayer incorrectly setting the internal state to Stopping when playing two incompatible items one after another. 2013-04-08 18:14:44 +01:00
Atli Thorbjornsson cf36e20e3e AudioPlayerBuffersNeededToStart was set to high for us 2013-04-08 10:56:57 +00:00
Atli Thorbjornsson 45e6edb28e Created a new internal state - AudioPlayerInternalStateRebuffering, it's mostly cosmetic so users of Audjustable are informed when playback pauses because the buffers have dried up 2013-04-08 10:49:47 +00:00
Thong Nguyen 7abcc78b1e Small fix to HttpDataSource MIME detection 2013-04-03 16:49:08 +01:00
Thong Nguyen a6d98b350b Small fix to HttpDataSource MIME detection 2013-04-03 16:47:46 +01:00
Thong Nguyen 8ce4b1b76f Small fix to HttpDataSource MIME detection 2013-04-03 16:46:23 +01:00
Thong Nguyen 36261bae90 Merge branch 'master' of https://github.com/tumtumtum/audjustable 2013-04-03 16:41:39 +01:00
Thong Nguyen 1aeb06774f Added support for file format hint detection to DataSource, LocalFileDataSource and HttpDataSource using file extensions and mime types 2013-04-03 16:41:09 +01:00
Alexey Blinov 341bd0358b Added cancel of previous performSelector invocations to the auto-recovering http data source 2013-04-03 13:45:06 +01:00
Thong Nguyen c67999ac3c Fix memory leaks of closed CFReadStreams in CoreFoundationDataSource 2013-04-01 15:32:16 +01:00
Thong Nguyen b904edce71 Fix some potential crashes in progress & duration 2013-03-29 12:01:32 +00:00
Thong Nguyen 27d83abf57 Fix potential crash in HttpDataSource:seekToOffset 2013-03-28 10:16:56 +00:00
Thong Nguyen 195b1bf388 Fix seeking to end of some files might not cause end of file to be notified 2013-03-24 20:46:17 +00:00
Thong Nguyen e289690a25 Fixed bug where AudioPlayer may skip current track part way through if next queued track is being buffered and it has a different audio format 2013-03-24 16:23:35 +00:00
Thong Nguyen c9efe47e9d Fix CoreFoundationDataSource not releasing resources as early as possible 2013-03-22 11:40:00 +00:00
Thong Nguyen 6ec2078517 Changed default bufffer sizes to better support MP3s by default 2013-03-21 15:41:01 +00:00
Thong Nguyen cc56ab3883 Small potential mutex deadlock 2013-03-21 14:22:47 +00:00
Thong Nguyen c5a5eed997 Changed lock around currentlyPlayingEntry from playerMutex to independent spinlock 2013-03-10 17:31:26 +00:00
Thong Nguyen 771dad1ce5 Fix DataSourceWrapper not nilifying innerDataSource delegate on release. Added some sanity locks around accessing ARC-ed fields of AudioPlayer from audio queue thread 2013-03-10 16:45:28 +00:00
Raven WANG 1c799687ae Fixed a delegate selector checking bug 2013-01-29 18:55:33 +08:00
Thong Nguyen d2d9ccbf2b Fixed AudioPlayer taking a few seconds longer than necessary to start playing for first file 2013-01-20 13:25:14 +00:00
Thong Nguyen 836885b946 Fix headers 2013-01-04 11:55:36 +00:00
Thong Nguyen ad72a6d1c3 Fixed potential deadlocks due to previous battery life optimisations 2012-12-11 16:25:06 +00:00
Thong Nguyen 646ae849ba Added gitignore 2012-11-28 14:20:38 +00:00
Thong Nguyen c91b7a369d Removed iOS specific stuff for non-iOS builds 2012-11-24 14:09:58 +00:00
Thong Nguyen b15766ac18 Battery life optimisations on iOS. Increased background plyback battery life by 200-300% 2012-11-24 14:00:16 +00:00
Thong Nguyen 0d15ead581 Removed DS_Store 2012-10-17 11:59:16 +01:00
Thong Nguyen d9d1d86f31 Added AutoRecoveringHttpDataSource 2012-10-17 11:57:27 +01:00
Thong Nguyen 1f3c8eca52 Fixed progress is incorrect when file finishes playing half way through. 2012-10-10 13:25:06 +01:00
Thong Nguyen 8508bc20be Removed logging 2012-09-02 00:58:49 +01:00
Thong Nguyen bf23483063 Added source and gitignore 2012-09-02 00:07:06 +01:00