2012-07-21 19 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替代品。