MCPcopy Create free account
hub / github.com/audeering/opensmile / copyTimeMeta

Method copyTimeMeta

src/core/dataMemoryLevel.cpp:432–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void cVector::copyTimeMeta(const TimeMetaInfo *xtmeta) {
433 if ((tmeta != NULL)&&(!tmetaAlien)) {
434 delete[] tmeta;
435 }
436 if (xtmeta != NULL) {
437 tmeta = new TimeMetaInfo[1] { *xtmeta };
438 } else {
439 tmeta = NULL;
440 }
441 tmetaAlien = 0;
442}
443
444cVector::~cVector() {
445 if (data!=NULL) free(data);

Callers 2

getFrameMethod · 0.80
getMatrixMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected