Re: Audio APIs [Carbon is C++?]
Re: Audio APIs [Carbon is C++?]
- Subject: Re: Audio APIs [Carbon is C++?]
- From: Jens Alfke <email@hidden>
- Date: Mon, 1 Mar 2010 09:22:23 -0800
On Feb 28, 2010, at 11:39 PM, Eagle Offshore wrote:
> There is no good reason not to have the base classes for AudioUnit be in Objective-C rather than C++ other than the personal biases of certain CoreAudio team members.
That's kind of insulting to those team members. The real reason is that most of the existing audio apps that needed to adopt these APIs were (are?) written in Carbon, not Cocoa. There was no way that Apple was going to tell developers like Bias, EMagic, Ableton and Propellerheads back in 2000 that they had to rewrite their apps — or even just their audio engines — from scratch in "some weirdo language".
Certainly nowadays (ten years later!) it would make more sense to have the media stuff in Objective-C. And I'm sure Apple's aware of that. They've chosen to start with QuickTime, and over the last few OS releases have modernized large swathes of it. Hopefully they'll work on the CoreAudio APIs next.
IMHO the worst problem with CoreAudio isn't what language it's in, but that the APIs don't form a coherent framework, rather a patchwork of complex procedural interfaces plus a pile of undocumented, mostly-unsupported and poorly-structured wrapper classes. Languages aren't a big deal — you should already be trying to learn a new language every year just to keep your mind flexible :)
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden