Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Something that pisses me off!

Something that pisses me off!
Thread Tools
Dedicated MacNNer
Join Date: Nov 2002
Status: Offline
Reply With Quote
Jan 21, 2003, 09:32 PM
 
I'm learning Obj-C/Cocoa from scratch, with the aim of writing audio apps. Something complex like that is obviously far away but my progress is being hindered especially by Apple's choice to document the most important audio calls only in Java (!) and provide most of their example audio projects in C++. What point does this serve for a company which recommends a specific API (Cocoa) for app writing but then assumes that developers are fluent in every language under the sun? I don't feel like I should have to learn C++ and Java in order to understand how to do something in Objective C, that's practically a herculean task.

Whether folks agree with me or not, can somebody point me to any useful resources on writing audio apps in Obj-C/Cocoa? (yes, I'm already subscribed to the CoreAudio mailing list, great help that one is)
I offer strictly b2b web-based server-side enterprise solutions for growing e-business trusted content providers ;]
     
Forum Regular
Join Date: Mar 2002
Location: Düsseldorf, Germany, Europe, Earth
Status: Offline
Reply With Quote
Jan 22, 2003, 08:10 AM
 
I presume you have got the Core Audio SDK (which you can download from Apple as a registered developer), and have read this.

The Core Audio interface is pure C, so it doesn't really matter whether sample code is embedded in C++ or Obj-C apps -- all that matters to you will be pure C calls that you understand. However I agree that Apple's documentation is a bit light on this issue.

I myself have written (tiny) audio apps using a Cocoa gui and Carbon sound calls (also pure C) mainly because I kinda know the old Mac Sound Manager. Learn to mix the Cocoa API with other APIs (in particular Core Graphics can speed up things A LOT).

You should definitely check out this, it's a Cocoa wrapper for the Core Audio HAL. Maybe that's what you really need.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:05 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2