MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / load

Method load

src/config/DspConfig.h:248–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247
248 void load()
249 {
250 auto map = ConfigIO::readFile(AppConfig::instance().getDspConfPath());
251
252 if (map.count() < 1)
253 {
254 Log::debug("Empty config file, using defaults");
255 loadDefault();
256 return;
257 }
258
259 _conf->setConfigMap(map);
260 emit configBuffered();
261 emit updated(this);
262 }
263
264 void load(const QString &string)
265 {

Callers

nothing calls this directly

Calls 3

getDspConfPathMethod · 0.80
countMethod · 0.80
setConfigMapMethod · 0.80

Tested by

no test coverage detected