2
我最近開始學習了很多關於核心音頻和我只是不理解什麼是公用事業類,以及如何使用它們Core Audio的公共實用課程的任何文檔?
我最近開始學習了很多關於核心音頻和我只是不理解什麼是公用事業類,以及如何使用它們Core Audio的公共實用課程的任何文檔?
幾個蘋果樣本項目中使用這些,請搜索: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替代品。