A few months back, I tried to port my 150-line web radio (Audio File Stream + Audio Queue) sample code to Swift, and got hung up on not having a way to pass the packets proc and properties proc function pointers to AudioFileStreamOpen().
I don't know if there's a good way to do that in Swift yet. Maybe? Haven't checked… been busy. :-)
I kind of doubt that a blanket condemnation of non-C languages for realtime audio processing still holds, given that we've seen so much of audio units now exposed to Objective-C, and Obj-C involves a message-dispatch cost that typical Swift calls won't endure, right?
—Chris
On Sep 16, 2014, at 2:56 PM, Rob Nikander < email@hidden> wrote:
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|