2012-07-21 14 views

回答

0

几个苹果样本项目中使用这些,请搜索:aurioTouch2或ConvertFile

这些 “CoreAudio的实用工具类” 包括:

CADebugMacros.h 
CADebugPrintf.h 
CAMath.h 
CAStreamBasicDescription.cpp 
CAStreamBasicDescription.h 
CAXException.cpp 
CAXException.h 

而且 - 有两个非常有帮助的书:

学习的Core Audio由克里斯·亚当森 从iPhone游戏开发由Apress出版社出版

在一般情况下,这些实用工具类简化故障排除/显示错误的MSG

这里是CAStreamBasicDescription.h

//============================================================================= 
// CAStreamBasicDescription 
// 
// This is a wrapper class for the AudioStreamBasicDescription struct. 
// It adds a number of convenience routines, but otherwise adds nothing 
// to the footprint of the original struct. 
//============================================================================= 

摘录严格地说你不需要这些公用事业。 如果您查看以上学习CA书籍在线提供的在线 的源代码项目,Adamson根据需要推出自己的Consise替代品。