AVAudioRecorder initWithURL file type documentation

[亡魂溺海] 提交于 2020-01-20 08:43:07

问题


AvAudioRecorder has an init method:

- (instancetype)initWithURL:(NSURL *)url
                   settings:(NSDictionary *)settings
                      error:(NSError **)outError

And a "magic" behavior is partially documented:

URL

The file system location to record to. The file type to record to is inferred from the file extension included in this parameter’s value.

Is there any further documentation of this feature? Specifically, what are the supported file extensions? And is there any way to support raw output?

Related:

  • How to record using AVAudioRecorder without the .caf container?
  • How to use AVAudioRecorder data and convert it to raw audio for C++?
  • How can I Access/extract raw(headless) audio data from a caf file on iPhone?

来源:https://stackoverflow.com/questions/28796064/avaudiorecorder-initwithurl-file-type-documentation

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