iDevGames Forums
Core Audio SDK Code Examples - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Core Audio SDK Code Examples (/thread-8738.html)



Core Audio SDK Code Examples - SparkyNZ - Mar 20, 2011 01:06 AM

Hi. Can somebody please tell me where I can acquire the code samples from the Core Audio SDK? I think Core Audio is now included with Xcode but the Core Audio documentation still claims you can download the SDK seperately when you can't.

I would like to get started in doing some audio programming on my Mac and iPod but I can't because I can't load the examples that the documentation refers to.

If anybody can point me to a link or would be kind enough to let me download a ZIP of the source examples I would really appreciate it. I've been in touch with Apple - they were of little help - they provided me with a link to the Core Audio Overview document.. which of course I already have.

Cheers
Sparky


RE: Core Audio SDK Code Examples - SethWillits - Mar 20, 2011 10:31 AM

The "SDK" which is mainly some examples and wrapper code, I think is basically useless now because half of the examples don't apply and the wrapper code (CAPublicUtility) was full of uses of deprecated functions. It used to be part of several examples, but I can't find any at the moment.

You can ignore it. You certainly don't need it to use Core Audio.


RE: Core Audio SDK Code Examples - SparkyNZ - Mar 21, 2011 02:05 AM

(Mar 20, 2011 10:31 AM)SethWillits Wrote:  The "SDK" which is mainly some examples and wrapper code, I think is basically useless now because half of the examples don't apply and the wrapper code (CAPublicUtility) was full of uses of deprecated functions. It used to be part of several examples, but I can't find any at the moment.

You can ignore it. You certainly don't need it to use Core Audio.

Thanks Seth. Yeah I'm toying with the idea of using SDL for all of my audio at the moment since its more of an open platform choice.


RE: Core Audio SDK Code Examples - mdejong1024 - Jun 8, 2011 08:33 PM

See my page of programming examples for iPhone/iOS for some CoreAudio examples that are implemented in Objective-C. These examples are easy to understand and are placed in the public domain so there are no license issues to worry about:

http://www.modejong.com/iOS/

These xcode projects will open and compile with no problems, and they provide a much better way to learn about CoreAudio than looking at the API docs.


RE: Core Audio SDK Code Examples - SparkyNZ - Jun 9, 2011 02:34 AM

(Jun 8, 2011 08:33 PM)mdejong1024 Wrote:  See my page of programming examples for iPhone/iOS for some CoreAudio examples that are implemented in Objective-C. These examples are easy to understand and are placed in the public domain so there are no license issues to worry about:

Hey thats great, thanks. I've done my work in C++ with SDL so far but I'm sure the day may come where I may want to optimise it for iOS.

Thanks a lot for sharing.