AVFoundation Framework内部是否与AudioToolbox Framework对话?因为AudioToolbox包含所有这些服务
如果有,AVFoundation框架想转换音频文件,它是怎么做的?
谢谢。
答案 0 :(得分:0)
陈旧的问题,但刚刚完全相同,所以我刚刚问了我们的老朋友otool
, -L print shared libraries used
:
otool -L /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/AVFoundation.framework/AVFoundation
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/AVFoundation.framework/AVFoundation (architecture armv6):
/System/Library/Frameworks/AVFoundation.framework/AVFoundation (compatibility version 1.0.0, current version 2.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 751.49.0)
/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox (compatibility version 1.0.0, current version 296.0.0)
(more ...)
所以答案是是的,AVFoundation会与AudioToolbox进行对话。
要获得有关特定方法实现的更多详细信息,需要进一步分析,包括更多逆向工程......