These are the code listings from the Learning Core Audio book, in Swift. I hope to illustrate how to call to low-level C APIs (such as Core Audio) from Swift