Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 06-17-2015, 03:28 AM   #1
loopa
Human being with feelings
 
Join Date: Jul 2014
Posts: 207
Default RPR_SetExtState stores unlimited size and non-string data?

Hi, everyone! Just wondering if RPR_SetExtState has a limit to the size of the data it stores?

Also, can it store non-string data (such as a bytes array)?

Cheers,
Loopa


EDIT: Some background information:

I'm storing FX binary data (base64-encoded) extracted from a track chunk. Since FX state for a VST can be arbitrarily large, I need to know that RPR_SetExtState can handle it.

Last edited by loopa; 06-17-2015 at 04:08 AM.
loopa is offline   Reply With Quote
Old 11-25-2021, 10:12 PM   #2
MonkeyBars
Human being with feelings
 
MonkeyBars's Avatar
 
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,630
Default

https://forum.cockos.com/showpost.ph...77&postcount=4
MonkeyBars is offline   Reply With Quote
Old 11-26-2021, 04:17 PM   #3
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

I quickly tested it, and it seems that ExtStates that must persist (i.e. that must be stored when you quit REAPER) are limited to 1 million characters. ExtStates that don't need to persist, can be much longer.
juliansader is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.