13
0

probable fix for 64bit VST signal latency

This commit is contained in:
Robin Gareus 2016-04-27 21:44:40 +02:00
parent f5f1976600
commit c1c81a239c

View File

@ -512,7 +512,11 @@ VSTPlugin::signal_latency () const
return _user_latency;
}
#if ( defined(__x86_64__) || defined(_M_X64) )
return *((int32_t *) (((char *) &_plugin->flags) + 20)); /* initialDelay */
#else
return *((int32_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */
#endif
}
set<Evoral::Parameter>