Updated TAAE and my APP Won't Compile

Hi Guys:

I'm Having some Issues with the latest TAAE Version: 1.4.7 (I Think)

Anyway: here is How I Was Initializing My Filter FX and AudioUnits:


// AUDIOUNITS:

        self.audioUnitPlayer = [[AEAudioUnitChannel alloc] initWithComponentDescription:AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_Generator, kAudioUnitSubType_AudioFilePlayer) audioController:_audioController error:NULL];

// FX:

    self.filter = [[AEAudioUnitFilter alloc] initWithComponentDescription:AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_Effect, kAudioUnitSubType_LowPassFilter) audioController:[LSAudioManager sharedAudioManager].audioController error:NULL];

/*
These were All Causing Compilation Errors!
No visible @interface for 'AEAudioUnitChannel' declares the selector 'initWithComponentDescription:audioController:error:'
*/

// Correction:

        self.audioUnitPlayer = [[AEAudioUnitChannel alloc] initWithComponentDescription:AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_Generator, kAudioUnitSubType_AudioFilePlayer)];

    self.filter = [[AEAudioUnitFilter alloc] initWithComponentDescription:AEAudioComponentDescriptionMake(kAudioUnitManufacturer_Apple, kAudioUnitType_Effect, kAudioUnitSubType_LowPassFilter)];

Anyway: Things are working OK Since this Correction so I Think I Probably Missed an Update in the Calling of these Methods.

Hopefully this helps out someone else :-)

Cheers

Hernan

Comments

Sign In or Register to comment.