如何使用 iPhone 上的 open al 播放 .aac 文件
我正在尝试为 iPhone 设计一款需要空间(立体声)音频的游戏。我找到了 open al,但似乎 iPhone 上唯一支持的内置格式是 pcm。然而,这对于我的项目来说太大了。例如,我有一个简单的游戏,大约有 5 个声音,没有图像,没有其他内容。但是,大小为 45 mb,因为所有文件都是 pcm(未压缩)音频。我发现.aac 文件可以在硬件中解码,我听说这比软件解码快得多。但是,我找不到任何有关如何通过 open al 使用 .aac 文件的文档。任何帮助我指明正确方向的帮助都是值得赞赏的。 谢谢, -迈克尔。
I am trying to design a game for the iPhone that requires spacial (stereo) audio. I found open al, but it seems that the only built in formats supported on the iPhone is pcm. However, this is far too big for my project. For example, I have a simple game with approximately 5 sounds, no images, and nothing else. However, the size is 45 mb, because all the files are pcm (uncompressed) audio. I found that .aac files can be decoded in hardware, which I hear is much faster than software decoding. However, I can't find any documentation on how to use .aac files with open al. Any help in pointing me in the right direction is appreciated.
Thanks,
-Michael.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论