More importantly, where are you hooking your renderCallback to, what are you doing in the callback and what does the framework expect?
What is the definition of &iOUnitDescription. From the above, i see you have a mixer somewhere, a guitarBus which presumably is your input (and seemingly a stream). &mixerOutToIoUnitIn, // connection definition IoUnitOutputElement, // destination element KAudioUnitScope_Input, // destination scope
KAudioUnitProperty_MakeConnection, // property key MixerOutToIoUnitIn.sourceOutputNumber = mixerUnitOutputBus MixerOutToIoUnitIn.sourceAudioUnit = mixerUnit If (noErr != result) ĪudioUnitElement ioUnitOutputElement = 0 ponentFlagsMask = 0 ĪudioComponent foundIoUnitReference = AudioComponentFindNext ( ponentManufacturer = kAudioUnitManufacturer_Apple ponentSubType = kAudioUnitSubType_RemoteIO I need the same output i'm getting with this audiounit mixer but with another audiounit with type kAudioUnitSubType_RemoteIO.ĮDIT 2- iOUnitDescription Added AudioComponentDescription iOUnitDescription I have an AudioUnit with correspondent Callback working properly, But now, I need to send it to a RemoteIO, cause i'm implementing some framework who needs an RemoteIO AudioUnit to work.