Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Classes simplifying common operations in Core Audio and Audio Toolbox.

License

NotificationsYou must be signed in to change notification settings

sbooth/CXXAudioUtilities

Repository files navigation

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

Note

C++17 is required.

Installation

Swift Package Manager

Add a package dependency tohttps://github.com/sbooth/CXXAudioUtilities in Xcode.

Manual or Custom Build

  1. Clone theCXXAudioUtilities repository.
  2. swift build.

CXXAudioUtilities

CoreAudioTypes Wrappers

C++ ClassDescription
SFB::CABufferListA class wrapping a Core AudioAudioBufferList with a specific format, frame capacity, and frame length
SFB::CAChannelLayoutA class wrapping a Core AudioAudioChannelLayout
SFB::CAStreamBasicDescriptionA class extending the functionality of a Core AudioAudioStreamBasicDescription
SFB::CATimeStampA class extending the functionality of a Core AudioAudioTimeStamp
SFB::CAExceptionstd::error_category for handling Core Audio errors as exceptions

AudioHardware Wrappers

C++ ClassDescription
SFB::CAPropertyAddressA class extending the functionality of a Core AudioAudioObjectPropertyAddress
SFB::CAAudioObjectA wrapper around a HAL audio object
SFB::CAAudioDeviceA wrapper around a HAL audio device
SFB::CAAudioStreamA wrapper around a HAL audio stream
SFB::CAAudioSystemObjectA wrapper aroundkAudioObjectSystemObject

AudioToolbox Wrappers

C++ ClassDescription
SFB::AudioFileWrapperA bare-bones wrapper aroundAudioFile modeled afterstd::unique_ptr
SFB::ExtAudioFileWrapperA bare-bones wrapper aroundExtAudioFile modeled afterstd::unique_ptr
SFB::CAAUGraphA wrapper aroundAUGraph
SFB::CAAudioFileA wrapper aroundAudioFile
SFB::CAExtAudioFileA wrapper aroundExtAudioFile
SFB::CAAudioFormatA wrapper aroundAudioFormat
SFB::CAAudioConverterA wrapper aroundAudioConverter

Ring Buffers

C++ ClassDescription
SFB::RingBufferA generic ring buffer
SFB::AudioRingBufferA ring buffer supporting non-interleaved audio
SFB::CARingBufferA ring buffer supporting timestamped non-interleaved audio

Utility Classes

C++ ClassDescription
SFB::ByteStreamAByteStream provides heterogeneous typed access to an untyped buffer
SFB::CFWrapperA wrapper around a Core Foundation object
SFB::DispatchSemaphoreA wrapper arounddispatch_semaphore_t
SFB::ScopeGuardA class that calls a function upon destruction
SFB::UnfairLockA wrapper aroundos_unfair_lock implementing C++Lockable
C++ ClassDescription
SFB::AudioUnitRecorderA class that asynchronously writes the output from anAudioUnit to a file

License

Released under theMIT License.

About

Classes simplifying common operations in Core Audio and Audio Toolbox.

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp