View Single Post
Old 01-17-2015, 10:23 AM   #5
mim
Human being with feelings
 
Join Date: Mar 2009
Posts: 346
Default

I'm checking v5 + lua + sws custom reascript ...

I'm not sure what error I made but this

Code:
volume=reaper.GetTrackEnvelopeByName(reaper.GetSelectedTrack(0,0), "Volume")
volenv=reaper.BR_EnvAlloc(volume, 0)
reaper.BR_EnvFree(volenv, 1)
Give me :

Code:
'reaper.BR_EnvFree' argument 1: expected BR_Envelope*
But Isn't volenv a BR_Envelope* ?
mim is offline   Reply With Quote