probable fix for 64bit VST signal latency
This commit is contained in:
parent
f5f1976600
commit
c1c81a239c
@ -512,7 +512,11 @@ VSTPlugin::signal_latency () const
|
|||||||
return _user_latency;
|
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 */
|
return *((int32_t *) (((char *) &_plugin->flags) + 12)); /* initialDelay */
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
set<Evoral::Parameter>
|
set<Evoral::Parameter>
|
||||||
|
Loading…
Reference in New Issue
Block a user