add some AU debug message
(if this is encountered, a crash is likely and error log will be useless)
This commit is contained in:
@@ -1452,6 +1452,7 @@ AUPlugin::render_callback(AudioUnitRenderActionFlags*,
|
||||
// name(), inNumberFrames, ioData->mNumberBuffers));
|
||||
|
||||
if (input_maxbuf == 0) {
|
||||
DEBUG_TRACE (DEBUG::AudioUnits, "AUPlugin: render callback called illegally!");
|
||||
error << _("AUPlugin: render callback called illegally!") << endmsg;
|
||||
return kAudioUnitErr_CannotDoInCurrentContext;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user