Skip to content

Releases: jorgenhenrichsen/SwiftAudio

SwiftAudio 0.7.1

07 Apr 19:48
852578c
Compare
Choose a tag to compare

Add a little more access to the QueuedAudioPlayer's underlying QueueManagers properties.

SwiftAudio 0.7.0

10 Mar 11:23
3930096
Compare
Choose a tag to compare

Changes

NowPlayingInfo

  • Removed reloadNowPlayingInfo(), replaced with loadNowPlayingMetaValues() and updateNowPlayingPlaybackValues().
  • Fixes a problem where forcing an update to nowPlayingInfo would not happen, if automaticallyUpdatesNowPlayingInfo was set to false.
  • The current time of the nowPlayingInfo is no longer updated every second. Setting the rate will automatically progress the time, so there is no need to update it so often.
  • NowPlayingInfoController.set(keyValues:) now actually applies the values to the nowPlayingInfo.
  • Added a clear() function to clear the nowPlayingInfo
  • The nowPlayingInfo is now immediately updated when a seek action is done. Should cause a less "jumpy" slider on the lock screen when scrubbing to seek.

Events

Introduces events to listen for changes in the AudioPlayer. This replaces the AudioPlayerDelegate, and this will be removed eventually. With events it is possible to subscribe to just the events you need, without implementing unneeded empty delegate methods. The AudioPlayer can also have multiple listeners for each event.

All events can be found in the event property of the AudioPlayer.

SwiftAudio 0.6.2

24 Feb 12:20
Compare
Choose a tag to compare

Make AudioItem-subclasses conform to InitialTiming to start playback from a certain point in time.

SwiftAudio 0.6.1

31 Jan 21:12
Compare
Choose a tag to compare

Fixes

  • Get duration directly from asset, if available.
  • Increase precision of the seekTo method to milliseconds.

SwiftAudio 0.6.0

25 Dec 17:12
debc1c5
Compare
Choose a tag to compare
  • Update to Swift 4.2
  • Fix some compiler warnings in the project
  • Removes custom AudioSessionCategory-enum as AudioSession.Category is introduced with Swift 4.2

SwiftAudio 0.5.0

18 Nov 22:44
Compare
Choose a tag to compare
  • Removes AVAudioTimePitchAlgorithm-getter from AudioItem
  • Protocol TimePitching can be conformed to, if an AudioItem needs to define its own AVAudioTimePitchAlgorithm
  • DefaultAudioItem no longer has an AVAudioTimePitchAlgorithm, if needed use DefaultAudioItemTimePitching

SwiftAudio 0.4.4

16 Nov 11:01
Compare
Choose a tag to compare

Should fix issue #26, where duration was not properly loaded in some cases.

SwiftAudio 0.4.3

08 Nov 22:14
8a5e6d1
Compare
Choose a tag to compare

Should fix a problem where the AVPlayerItem was deinitialized before all observer where removed.

SwiftAudio 0.4.2

06 Nov 21:49
Compare
Choose a tag to compare

Changes

QueuedAudioPlayer

  • Clear queue on stop()
  • Add removePreviousItems() - method

SwiftAudio 0.4.1

02 Nov 18:27
a0efa5f
Compare
Choose a tag to compare

Adds support for installation via Carthage!