diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-02 23:07:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-02 23:07:40 +0200 |
commit | c019202dd2937788159a5cf1854ed2506b18c8d5 (patch) | |
tree | 6aa138d0f8900c3056a3fefcf86947ffb619f3ba /libs/ardour/audio_unit.cc | |
parent | 4cdccd853fb5b50efa7987880cbda34a67bab7bd (diff) |
add some AU debug message
(if this is encountered, a crash is likely and error log will be useless)
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 047b5e57a2..3b1c60a0c2 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -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; } |