Skip to content

sbooth/CXXCoreAudio

Repository files navigation

CXXCoreAudio

Assorted C++ classes simplifying common operations in Core Audio.

Class Description
AudioRingBuffer A lock-free SPSC audio ring buffer supporting non-interleaved audio.
CAAudioBuffer An AudioBufferList with a specific format, frame capacity, and frame length.
CAChannelLayout Simplifies use of the variable-length AudioChannelLayout.
CARingBuffer A lock-free timestamped SPSC audio ring buffer supporting non-interleaved audio.
CAStreamDescription Extends the functionality of an AudioStreamBasicDescription.
CATimeStamp Extends the functionality of an AudioTimeStamp.
CAValueRange Extends the functionality of an AudioValueRange.

Note

C++17 is required.

All classes are in the CXXCoreAudio namespace.

Installation

Swift Package Manager

Add a package dependency to https://github.com/sbooth/CXXCoreAudio in Xcode.

Manual or Custom Build

  1. Clone the CXXCoreAudio repository.
  2. swift build.

License

Released under the MIT License.

About

Core Audio utility classes.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •