Quote:
Originally Posted by juliansader
It seem the problem lies with parameters that use the "Out" suffix -- not "Optional" -- such as "double* versionOut". Previously, such *output* parameters did not require any arguments in Lua, are were automatically provided with a proper pointer for the parameter type. In this dev version, they seem to be handled similar to Optional *input* parameters, and are given NULL pointers.
Functions such as JS_ReaScriptAPI_Version, which use "Out" parameters will now only work in Lua if the function is provided with a dummy variable:
[code]
reaper.JS_ReaScriptAPI_Version(5)
|
I can confirm here too.
If I do
Code:
retval, lufsIntegrated = reaper.NF_AnalyzeTakeLoudness_IntegratedOnly(take, 5)
instead of
Code:
retval, lufsIntegrated = reaper.NF_AnalyzeTakeLoudness_IntegratedOnly(take)
it works.
edit:
Posted before I saw schwa's reply about the new build.