MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / loadPreset

Method loadPreset

src/utils/CliRemoteController.cpp:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242bool CliRemoteController::loadPreset(const QString &name) const
243{
244 if(checkConnectionAndLog()) {
245 auto reply = service->loadPreset(name);
246 return handleVoidReply(reply);
247 }
248
249 bool success = PresetManager::instance().load(name);
250 if(!success)
251 Log::error("Preset does not exist");
252 return success;
253}
254
255bool CliRemoteController::savePreset(const QString &name) const
256{

Callers

nothing calls this directly

Calls 2

handleVoidReplyFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected