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.
Add a package dependency to https://github.com/sbooth/CXXCoreAudio in Xcode.
- Clone the CXXCoreAudio repository.
swift build.
Released under the MIT License.