Skip to content

Commit

Permalink
reaper fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SatyrDiamond committed Nov 18, 2024
1 parent fcf0f03 commit 87c9055
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion functions_plugin_ext/params_os_juicysfplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ def set_sffile(self, value):

def to_cvpj_vst2(self, convproj_obj, plugin_obj):
plugin_vst2.replace_data(convproj_obj, plugin_obj, 'id', 'any', 1249076848, 'chunk', data_vc2xml.make(self.jsfp_xml), None)
plugin_obj.move_prog(self.program)
plugin_obj.move_prog(self.program-1)
2 changes: 1 addition & 1 deletion plugins/input/r_reaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def parse(self, convproj_obj, input_file, dv_config):
vstdataconreader.skip(1) # 16
vstdataconreader.skip(1) # 16

plugin_obj.clear_prog_keep(programnum+1)
plugin_obj.clear_prog_keep(programnum)
if uses_chunk:
plugin_vst2.replace_data(convproj_obj, plugin_obj, 'id', None, fourid, 'chunk', rpp_extplug.data_chunk, None)
else:
Expand Down
2 changes: 1 addition & 1 deletion plugins/output/reaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def add_plugin(rpp_fxchain, pluginid, convproj_obj):
vsthdrwriter.flags64([n])
vsthdrwriter.uint32(vstparamsnum)
vsthdrwriter.uint32(vst_fx_datatype == 'chunk')
vsthdrwriter.int16(plugin_obj.current_program-1)
vsthdrwriter.int16(plugin_obj.current_program)
vsthdrwriter.uint8(16)
vsthdrwriter.uint8(0)

Expand Down

0 comments on commit 87c9055

Please sign in to comment.