| 290 | |
| 291 | |
| 292 | bool |
| 293 | ExportSamplesTask::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 | |
| 309 | ExportSamplesTask::~ExportSamplesTask(void) |
| 310 | { |
no test coverage detected