Fix logic-error in d1cf2163: hide info for optimized builds

This commit is contained in:
Robin Gareus 2018-12-04 17:06:13 +01:00
parent 80aa43b830
commit aa8128cdf5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -1226,7 +1226,7 @@ PluginInsert::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
}
if (_pending_active) {
#if defined MIXBUS && !defined NDEBUG
#if defined MIXBUS && defined NDEBUG
if (!is_channelstrip ()) {
_timing_stats.start ();
}
@ -1241,7 +1241,7 @@ PluginInsert::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
Glib::Threads::Mutex::Lock lm (control_lock(), Glib::Threads::TRY_LOCK);
connect_and_run (bufs, start_sample, end_sample, speed, nframes, 0, lm.locked());
}
#if defined MIXBUS && !defined NDEBUG
#if defined MIXBUS && defined NDEBUG
if (!is_channelstrip ()) {
_timing_stats.update ();
}
@ -3214,7 +3214,7 @@ PluginInsert::end_touch (uint32_t param_id)
bool
PluginInsert::provides_stats () const
{
#if defined MIXBUS && !defined NDEBUG
#if defined MIXBUS && defined NDEBUG
if (is_channelstrip () || !display_to_user ()) {
return false;
}