How would I use the AVAudioUnitSampler correctly with TAAE ?

Setting up seems to work with
AudioComponentDescription acd;
acd.componentManufacturer=kAudioUnitManufacturer_Apple;
acd.componentType=kAudioUnitType_MusicDevice;
acd.componentSubType=kAudioUnitSubType_Sampler;

auc=[[AEAudioUnitChannel alloc] initWithComponentDescription:acd];

But [auc audioUnit] seems not to return an AVAudioUnitSampler * but an AudioUnit instead. So I cannot use loadAudioFilesAtURLs on this object.

Or is there an other way to use a musical instrument sampler component?

Thanks

Sign In or Register to comment.