Load Json::Value into this object
| 144 | |
| 145 | // Load Json::Value into this object |
| 146 | void Echo::SetJsonValue(const Json::Value root) { |
| 147 | |
| 148 | // Set parent data |
| 149 | EffectBase::SetJsonValue(root); |
| 150 | |
| 151 | // Set data from Json (if key is found) |
| 152 | if (!root["echo_time"].isNull()) |
| 153 | echo_time.SetJsonValue(root["echo_time"]); |
| 154 | if (!root["feedback"].isNull()) |
| 155 | feedback.SetJsonValue(root["feedback"]); |
| 156 | if (!root["mix"].isNull()) |
| 157 | mix.SetJsonValue(root["mix"]); |
| 158 | } |
| 159 | |
| 160 | // Get all properties for a specific frame |
| 161 | std::string Echo::PropertiesJSON(int64_t requested_frame) const { |
nothing calls this directly
no outgoing calls
no test coverage detected