TODO: use dataProcessor::findElement, once it is comitted to the openSMILE trunk
| 490 | |
| 491 | // TODO: use dataProcessor::findElement, once it is comitted to the openSMILE trunk |
| 492 | int cSimpleVisualiserGUI::getElidxFromName(const char *_name) |
| 493 | { |
| 494 | const FrameMetaInfo * fmeta = reader->getFrameMetaInfo(); |
| 495 | int ri; |
| 496 | long elIdx=-1; |
| 497 | long idx = fmeta->findFieldByPartialName( _name , &ri, NULL ); |
| 498 | if (idx < 0) { |
| 499 | SMILE_IWRN(2,"Requested input element '*%s*' not found, check your config!",_name); |
| 500 | } else { |
| 501 | elIdx = fmeta->fieldToElementIdx( idx ) + ri; |
| 502 | } |
| 503 | return elIdx; |
| 504 | } |
| 505 | |
| 506 | int cSimpleVisualiserGUI::myFinaliseInstance() |
| 507 | { |
nothing calls this directly
no test coverage detected