MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / PropertiesJSON

Method PropertiesJSON

src/audio_effects/Delay.cpp:152–162  ·  view source on GitHub ↗

Get all properties for a specific frame

Source from the content-addressed store, hash-verified

150
151// Get all properties for a specific frame
152std::string Delay::PropertiesJSON(int64_t requested_frame) const {
153
154 // Generate JSON properties list
155 Json::Value root = BasePropertiesJSON(requested_frame);
156
157 // Keyframes
158 root["delay_time"] = add_property_json("Delay Time", delay_time.GetValue(requested_frame), "float", "", &delay_time, 0, 5, false, requested_frame);
159
160 // Return formatted string
161 return root.toStyledString();
162}

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.80

Tested by

no test coverage detected