A software playthrough implementation. Just like Apple's sample code, except it works!
C++ Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CAPlayThrough.xcodeproj
English.lproj
AudioDevice.cpp
AudioDevice.h
AudioDeviceList.cpp
AudioDeviceList.h
CAPlayThrough.cpp
CAPlayThrough.h
CAPlayThroughController.h
CAPlayThroughController.mm
CARingBuffer.cpp
CARingBuffer.h
Info.plist
README.markdown
ReadMe.txt
main.m
version.plist

README.markdown

###Look! A version of CAPlayThrough that works...

...for the most part. Standard disclaimers apply, etc.

I've cobbled together improvements to CARingBuffer.cpp and CARingBuffer.h that were based on an older version of CARingBuffer that I found in an older version of the CoreAudio SDK (Thanks, Pacifist!)

There were many bugs in that class which caused havoc in the CAPlayThrough sample, especially when mixing devices that have varying sample rates (and drifting clocks.)

Please: if you find bugs, try and fix them yourself, and contribute back to this repo for the benefit of others. I don't have time to respond to bug reports.