Which built in AudioUnit can resample audio?

守給你的承諾、 提交于 2020-01-03 04:45:08

问题


I have an application that will need to rapidly change the sample rate of audio.

The pitch shift caused by doing simple linear interpolation of the samples is totally fine.

Is there an audio unit that resamples in software in real time (ie: does not need to change the hardware sample rate).


回答1:


Yes, Apple's AU kAudioUnitType_FormatConverter, kAudioUnitSubType_AUConverter can do this. Internally the AU contains a FormatConverter that performs the work.



来源:https://stackoverflow.com/questions/27934129/which-built-in-audiounit-can-resample-audio

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