mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
probable fix for 64bit VST signal latency
This commit is contained in:
parent
f5f1976600
commit
c1c81a239c
1 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue