Allow a LV2 plugin to mark the session dirty
[ardour.git] / scripts / _vamp_audio_to_midi.lua
index cf9b82c85136636bf88a25d22ef1759e4728d40a..6af21c241fd1abe7590f4e3f2901b115cee40d18 100644 (file)
@@ -17,7 +17,7 @@ function factory () return function ()
        assert (ar and mr)
 
        local a_off = ar:position ()
-       local b_off = 4.0 * mr:pulse () - mr:start_beats ():to_double ()
+       local b_off = 4.0 * mr:pulse () - mr:start_beats ()
 
        vamp:analyze (ar:to_readable (), 0, nil)
        local fl = vamp:plugin ():getRemainingFeatures ():at (0)