iOS上的离线录音与OpenAL的 [英] Offline audio recording on iOS with OpenAL

查看:368
本文介绍了iOS上的离线录音与OpenAL的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的OpenAL在特定的时间间隔播放声音样本,我想这个出口到文件(不论是咖啡馆或AAC或其他)。我怎么能做到这一点与OpenAL的,无需通过音箱/耳机实时打我的样品?

I'm using openAL to play sound samples at specific intervals and I want to export this to file (be it caf or aac or whatever). How can I do this with OpenAL without having my samples played in real time through the speakers/headphones?

推荐答案

如果你在谈论导出乐谱作为一个完整的音频片,没有什么在OpenAL的,会做这样的事情。

If you're talking about exporting your musical score as a complete audio piece, there's nothing in OpenAL that will do such a thing.

我能想到的唯一的办法是使用单位的音频播放,并用它离线模式转储到一个文件中。

The only way I can think of would be to use Audio Units for playback, and use it offline mode to dump to a file.

这篇关于iOS上的离线录音与OpenAL的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆