ExtAudioFileSetProperty 崩溃的问题
2017-12-15 15:55
323 查看
问题:We are using CocosDenshion for our games. When we turn on exception breakpoints in
xcode we keep getting exceptions from
status = ExtAudioFileSetProperty(extRef, kExtAudioFileProperty_ClientDataFormat, sizeof(theOutputFormat), &theOutputFormat);
In CDOpenALSupport.m
(note that this exception does not crash the game as it is caught by CocosDenshion but still we want to see if we can prevent these exceptions).
答案:Set the exception breakpoint to handle only Objective-C exceptions. This prevents these Cocosdenshion exceptions from being caught by the breakpoint.
I wager they're nothing to worry about, it's been like that for as long as I can remember.
总结:ExtAudioFileSetProperty会抛出异常,但这个异常不会影响程序崩溃,只要忽略这个异常,就可以运行了
xcode we keep getting exceptions from
status = ExtAudioFileSetProperty(extRef, kExtAudioFileProperty_ClientDataFormat, sizeof(theOutputFormat), &theOutputFormat);
In CDOpenALSupport.m
(note that this exception does not crash the game as it is caught by CocosDenshion but still we want to see if we can prevent these exceptions).
答案:Set the exception breakpoint to handle only Objective-C exceptions. This prevents these Cocosdenshion exceptions from being caught by the breakpoint.
I wager they're nothing to worry about, it's been like that for as long as I can remember.
总结:ExtAudioFileSetProperty会抛出异常,但这个异常不会影响程序崩溃,只要忽略这个异常,就可以运行了
相关文章推荐
- ExtAudioFileSetProperty 崩溃的问题
- 解决tomcat部署多个虚拟机时报IllegalStateException: Web app root system property already set to 的问题
- Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated{apkData=M
- 关于target is null for setProperty的问题总结
- android studio3.0(二)Cannot set the value of read-only property 'outputFile'
- Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated
- Vitamio开发框架解决Video切换Audio程序崩溃问题
- Cannot set property 'onclick' of null的问题
- target is null for setProperty(null, "username", [Ljava.lang.String;@c06258)问题
- 问题1:Project has no default.properties file! Edit the project properties to set one.问题2:The type R is
- 问题1:Project has no default.properties file! Edit the project properties to set one.
- 解决-Dmaven.multiModuleProjectDirectory system property is not set 的问题
- 解决maven中出现解决-Dmaven.multiModuleProjectDirectory system property is not set的问题
- Ubuntu下解决IDEA与Maven的配置问题:Dmaven.multiModuleProjectDirectory system property is not set
- Ext.js 古怪的问题(表单布局崩溃)
- Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated{apkData=M
- 解决QSqlTableModel::setData()崩溃的问题
- Cannot set web app root system property when WAR file is not expanded
- 解决maven打包编译出现File encoding has not been set问题
- (iOS)确保设置话筒模式成功 AudioSessionSetProperty