64 位环境中的 OS X 音频队列问题

发布于 2024-09-05 10:19:03 字数 207 浏览 0 评论 0原文

我最近将整个应用程序移植到 64 位,除了录音机之外,一切都工作正常。尽管当我在 Quicktime 中检查生成的文件信息时报告了正确的参数(例如采样率),但该文件要么具有一致的间隙,要么以更高的速度播放,要么以更低的速度播放。

我应该注意到,我显式地输入了所有变量,因为我对所有内容都使用描述性类型名称,例如 UInt32 和 SInt16,而不是使用普通的“int”或“long”

I've recently ported my entire application to 64-bit and everything is working fine except for my audio recorder. Even though the correct parameters (such as sample rate) are being reported when I check the resulting file's information in Quicktime, the file either has consistent gaps, is playing at a much higher speed, or is playing at a much lower speed.

I should note that I explicitly type all of my variables, in that I use descriptive types names such as UInt32 and SInt16 for everything instead of using plain 'int' or 'long

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文