MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / attemptOpen

Method attemptOpen

Tasks/ExportSamplesTask.cpp:292–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290
291
292bool
293ExportSamplesTask::attemptOpen(void)
294{
295 if (this->format == "mat")
296 return this->openMat5();
297 else if (this->format == "m")
298 return this->openMatlab();
299 else if (this->format == "wav")
300 return this->openWav();
301 else if (this->format == "raw")
302 return this->openRaw();
303 else
304 this->lastError = "Unsupported format \"" + this->lastError + "\"";
305
306 return false;
307}
308
309ExportSamplesTask::~ExportSamplesTask(void)
310{

Callers 1

openSaveSamplesDialogMethod · 0.80

Calls 4

openMat5Method · 0.95
openMatlabMethod · 0.95
openWavMethod · 0.95
openRawMethod · 0.95

Tested by

no test coverage detected