MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / set_process_env

Function set_process_env

tests/core/audio_task_warm_bench.h:184–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 const auto label = meta.find("label");
183 const auto index = meta.find("index");
184 const auto score = meta.find("score");
185 step.emplace("label", string(label != meta.end() ? label->second : ""));
186 step.emplace(
187 "index",
188 number(index != meta.end() ? std::stod(index->second) : -1.0));
189 step.emplace(
190 "score",
191 number(score != meta.end() ? std::stod(score->second) : 0.0));
192 }
193 break;
194 }
195 return io::json::Value::make_object(std::move(step));
196}
197

Callers 1

Calls 1

stringFunction · 0.70

Tested by

no test coverage detected