Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CoreAudio PublicUtility on Xcode 4.3.1 iOS 5.1

I've an app using low level CoreAudio C functions, usually located under /Volumes/Xcode/Xcode.app/Contents/Developer/Extras/CoreAudio/PublicUtility/. Just installed Xcode 4.3.1 and iOS 5.1 and Public Utility seems gone away. My missing files are: CADebugMacros.h CAMath.h CAStreamBasicDescription.cpp CAStreamBasicDescription.h Anyone knows if these files have been removed from this last release or should I just copy the files from previous Xcode version? CoreAudio Public Utility has been there since iOS 2 (at least).

Ty!

like image 623
Martha Avatar asked Nov 30 '22 06:11

Martha


2 Answers

This is explained in the Xcode 4.3 what's new documentation.

Choose this menu:

Xcode > Open Developer Tool > More Developer Tools...

and download "Audio Tools for Xcode".

like image 147
Kurt Revis Avatar answered Dec 09 '22 14:12

Kurt Revis


Better place to get them is directly from the Apple Sample Code Reference Library.

http://developer.apple.com/library/ios/#samplecode/CoreAudioUtilityClasses/Introduction/Intro.html

Sample code links in the RefLib. also provides versioning and modification history information which is helpful allowing you to stay current if there's any bug fixes with these sources.

Apple appears to be updating all their Audio samples to contain whatever subset of public utility is required by each sample, but if you want it all (and I suggest that you do as it's oozing with goodness), grab it from the above link.

like image 30
MilesMonroe Avatar answered Dec 09 '22 13:12

MilesMonroe