Setting rate on AudioUnit subtype kAudioUnitSubType_NewTimePitch
问题 I'm trying to get/set the rate of an AudioUnit with subtype kAudioUnitSubType_NewTimePitch . The audio unit is added to an AUGraph , through an AUNode , which has the following component description: acd->componentType = kAudioUnitType_Effect; acd->componentSubType = kAudioUnitSubType_NewTimePitch; acd->componentManufacturer = kAudioUnitManufacturer_Apple; According to AudioUnitParameters.h , get/set the rate should be as simple as get/set the rate parameter on the audio unit. // rate control