Offline audio recording on iOS with OpenAL

谁都会走 提交于 2019-12-13 15:11:09

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/5018136/offline-audio-recording-on-ios-with-openal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!