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

Method PropertiesJSON

src/audio_effects/Noise.cpp:115–125  ·  view source on GitHub ↗

Get all properties for a specific frame

Source from the content-addressed store, hash-verified

113
114// Get all properties for a specific frame
115std::string Noise::PropertiesJSON(int64_t requested_frame) const {
116
117 // Generate JSON properties list
118 Json::Value root = BasePropertiesJSON(requested_frame);
119
120 // Keyframes
121 root["level"] = add_property_json("Level", level.GetValue(requested_frame), "int", "", &level, 0, 100, false, requested_frame);
122
123 // Return formatted string
124 return root.toStyledString();
125}

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.80

Tested by

no test coverage detected