setupWithAudioController not synchronous?
I think this structure has been in TAAE for a while, but I just upgraded to the latest and am running into various issues related to it.
In older versions (V1.4.6, I think), I could do this:
AudioComponentDescription component = AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_FormatConverter, kAudioUnitSubType_NewTimePitch); AEAudioUnitFilter *filter = [[AEAudioUnitFilter alloc] initWithComponentDescription: component]; AudioUnitSetParameter(filter.audioUnit, kNewTimePitchParam_Rate, kAudioUnitScope_Global, 0, myPlayRate, 0);
But now I have to put my AudioUnitSetParameter statement inside the preinitializeBlock, which gets called at some unspecified time later.
I can work around this, but I'm wondering why it's set up this way since it increases complexity on my side. Thanks.