error: address doesn't contain a section that points to a section in a object file

edited May 2013

I modified a bit this example, running on ios6 is no problem, but I replaced ios5.1 then callback error:address doesn't contain a section that points to a section in a object file。

- (void)delayVolueChanged:(UISlider*)sender {
    if( !_recordthrough)
        return;
    if(!_delay){
        self.delay = [[[AEAudioUnitFilter alloc] initWithComponentDescription:AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_Effect,kAudioUnitSubType_Delay) audioController:_audioController error:NULL] autorelease];
        [_audioController addFilter:_delay toChannel:_recordthrough];
    }
    checkResult( AudioUnitSetParameter(_delay.audioUnit,kDelayParam_WetDryMix,
                                       kAudioUnitScope_Global, 0,
                                      sender.value, 0),
                "AudioUnitSetProperty(kDelayParam_WetDryMix)");

}

and output:

AEAudioUnitFilter.m:76: AUGraphAddNode result -2005 FFFFF82B ˇˇ¯+

Thanks & Best Regards.

Comments

Sign In or Register to comment.