Giter Site home page Giter Site logo

annidy / sfbaudioengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbooth/sfbaudioengine

0.0 3.0 0.0 6.75 MB

A powerful audio playback engine for Mac OS X and iOS

Home Page: sbooth.github.io/SFBAudioEngine/

License: MIT License

C++ 96.20% Objective-C 1.85% Objective-C++ 1.95%

sfbaudioengine's Introduction

About SFBAudioEngine

SFBAudioEngine is a set of C++ classes enabling Mac OS X and iOS 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 (Mac OS X only)
  • Monkey's Audio (Mac OS X only)
  • True Audio (Mac OS X only)
  • All other formats supported natively by Core Audio

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

SFBAudioEngine uses C++11 language and standard library features. For this reason clang must be used to compile SFBAudioEngine and its dependencies, and clang's libc++ must be used as the C++ standard library. Any application using SFBAudioEngine must also be compiled with clang and libc++.

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: http://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
  3. Open the project and build!

Using SFBAudioEngine

Playing an audio file is as simple as:

NSURL *u = [NSURL fileURLWithPath:@"example.flac" isDirectory:NO];
SFB::Audio::Player player;
player.PlayURL((__bridge CFURLRef)u);

Documentation

All public headers are documented using doxygen. If you have doxygen installed, you may create a local copy of the documentation by running doxygen in SFBAudioEngine's root. The HTML files will be saved in doc/html/.

The documentation is also available online.

sfbaudioengine's People

Contributors

sbooth avatar mathbunnyru avatar bsneed avatar annidy avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.