Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-03-2019, 07:27 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,630
Default [Done] API: GetStateChunkSize(object)

I suggest a function, which returns the size a Statechunk would have, if I would get it, as NeedBig in C++ needs this information.
Otherwise, large StateChunks could be truncated, what happened to nofish in this thread:
https://forum.cockos.com/showthread.php?t=221575

Alternatively, the GetXXXStateChunk functions return false, if the NeedBig wasn't big enough.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...

Last edited by Meo-Ada Mespotine; 12-20-2022 at 02:15 PM.
Meo-Ada Mespotine is offline   Reply With Quote
 

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 04:29 PM.


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