Plugin error

I seem to be getting this error when i load my plugin into logic pro, Does anyone know how to rectify this? So that the plugin will work.

Thanks

Input Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
Slicing Render Test at 64 frames
PASS

Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 48000 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 44100 Hz
PASS

1 Channel Test:
Render Test at 512 frames
ERROR: -66745 IN CALL AudioUnitRender

    • FAIL

AU VALIDATION FAILED: CORRECT THE ERRORS ABOVE.

validation result: failed validation

Looking on OSStatus — Apple API Errors the error code is kAudioUnitErr_RenderTimeout, maybe processing is taking too long in that specific case, maybe your processing has some non-realtime safe code? Notably it’s happening for 1 channel that might be something to consider when reviewing your code.

Thanks for sharing, Do you know what file that would be?

It’s most likely an issue with your processBlock() function in your AudioProcessor. I can’t tell you what file that is in as it’s up to you what file you define that function in, but by default it would normally be something like PluginProcessor.cpp.

Thanks