ios - 在 iOS Core Audio 中——查找 OSStatus 错误的最佳方式是什么(即 -43?)

标签 ios core-audio runtime-error

在 Core Audio 中查找 OSStatus 错误(即 -43)含义的最佳方法是什么?有没有一种方法可以在您的 iOS 代码中处理它们,以便将它们格式化为在控制台中显示并带有简短说明?

最佳答案

快速浏览后,目前为止最好的方法似乎是使用 Unix 命令行工具 - macerror - 并输入错误代码作为参数:不确定是否可以调用并获取结果从我在 iOS 中的 Obj-C 代码到控制台打印的 macerror 查询。

关于ios - 在 iOS Core Audio 中——查找 OSStatus 错误的最佳方式是什么(即 -43?),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13885422/

相关文章:

ios - 以 15 分钟的时间间隔在服务器上发送纬度和经度

iphone - 用 UIView 替换 UINavigationControllers NavigationBar

iOS 和 CoreAudio : Calling MusicPlayerSetTime() stops MusicPlayer

vb6 - 是什么导致此错误? "Runtime error 380: Invalid property value"

Python Protocol Buffer "from google.protobuf.pyext import _message"- "ImportError: DLL load failed: The specified procedure could not be found"

c - 运行时错误: Structure for student details in C

ios - 防止 Share Extension 中的 UINavigationBar 继承主应用程序外观设置

ios - 将 CarPlay 添加到 SwiftUI 生命周期应用程序

ios - 一起使用 AVCaptureSession 和音频单元会导致 AVAssetWriterInput 出现问题

objective-c - iOS 上的自定义 EQ AudioUnit