Which built in AudioUnit can resample audio?

2019-06-14 08:46发布

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条回答
Emotional °昔
2楼-- · 2019-06-14 09:42

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

查看更多
登录 后发表回答