About SFBAudioEngine
====================

SFBAudioEngine is a set of Objective-C and Objective-C++ classes enabling macOS (10.15+) and iOS (13.0+) applications to easily play audio. SFBAudioEngine supports the following formats:

* WAVE
* AIFF
* Apple Lossless
* AAC
* FLAC
* MP3
* WavPack
* Ogg Vorbis
* Ogg Speex
* Ogg Opus
* Musepack
* Monkey's Audio
* True Audio
* All formats supported by libsndfile
* All formats supported by Core Audio
* DSD to PCM conversion for DSD64

In addition to playback, SFBAudioEngine supports reading and writing of metadata for most supported formats.

Building SFBAudioEngine
=======================

1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!

Using SFBAudioEngine
====================

Playing an audio file is as simple as:

~~~
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~

Documentation
=============

Documentation is sparse at the moment.

About SFBAudioEngine
====================

SFBAudioEngine is a set of Objective-C and Objective-C++ classes enabling macOS (10.15+) and iOS (13.0+) applications to easily play audio. SFBAudioEngine supports the following formats:

* WAVE
* AIFF
* Apple Lossless
* AAC
* FLAC
* MP3
* WavPack
* Ogg Vorbis
* Ogg Speex
* Ogg Opus
* Musepack
* Monkey's Audio
* True Audio
* All formats supported by libsndfile
* All formats supported by Core Audio
* DSD to PCM conversion for DSD64

In addition to playback, SFBAudioEngine supports reading and writing of metadata for most supported formats.

Building SFBAudioEngine
=======================

1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!

Using SFBAudioEngine
====================

Playing an audio file is as simple as:

~~~swift
import SFBAudioEngine
let player = AudioPlayer()
try? player.play(URL(fileURLWithPath: "example.flac"))
~~~

Documentation
=============

Documentation is sparse at the moment.

Add swift to code fence
Add swift to code fence