Go Back   Cockos Incorporated Forums > REAPER Forums > Dstruct's Casa De Nitpicks

Reply
 
Thread Tools Display Modes
Old 01-18-2021, 06:48 PM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default GetSetProjectInfo_String allows setting invalid and weird RENDER_FORMATs

I just realized, I can set all kinds of weird RENDER_FORMATs using GetSetProjectInfo_String and they will return true, though they make no sense.
Like the "Dude"-format, I invented in this example, returning "RHVkZQ==", unencoded "Dude" as set render-format.

Code:
A,B=reaper.GetSetProjectInfo_String(0, "RENDER_FORMAT", "Dude", true)
I think, this function should return false if I try to set an invalid format.
The Render to File-dialog reverts to WAV as standard, so there's no problem over there.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine 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 12:45 PM.


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