Skip to content
Commits on Source (6)
......@@ -84,4 +84,4 @@ SigViewer Online Repository is [here](repository/Updates.xml).
## <a name="support"></a>Support
[Email author](mailto:yida.lin@outlook.com) or report a new [issue](https://github.com/Yida-Lin/libxdf/issues).
[Email author](mailto:yl3842@columbia.edu) or report a new [issue](https://github.com/Yida-Lin/libxdf/issues).
libxdf (0.99+dfsg-1) unstable; urgency=medium
* New upstream version
* debhelper-compat 12
* Standards-Version: 4.4.0
-- Andreas Tille <tille@debian.org> Thu, 01 Aug 2019 14:10:31 +0200
libxdf (0.98+dfsg-1) unstable; urgency=medium
* Initial release (Closes: #919474)
......
......@@ -3,11 +3,11 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.
Uploaders: Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 12~),
Build-Depends: debhelper-compat (= 12),
cmake,
d-shlibs,
libpugixml-dev
Standards-Version: 4.3.0
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/libxdf
Vcs-Git: https://salsa.debian.org/med-team/libxdf.git
Homepage: https://github.com/Yida-Lin/libxdf
......
......@@ -612,10 +612,7 @@ void Xdf::syncTimeStamps()
}
}
if (this->streams[elem.second].clock_times[k] < elem.first.second)
{
elem.first.second += this->streams[elem.second].clock_values[k];
}
elem.first.second += this->streams[elem.second].clock_values[k]; // apply the last offset value to the timestamp; if there hasn't yet been an offset value take the first recorded one
}
}
......@@ -832,6 +829,7 @@ void Xdf::findMajSR()
}
}
if(srateMap.size() > 0){
//search the srateMap to see which sample rate has the most channels
int index (std::distance(srateMap.begin(),
std::max_element(srateMap.begin(),srateMap.end(),
......@@ -840,6 +838,9 @@ void Xdf::findMajSR()
{ return largest.second < first.second; })));
majSR = srateMap[index].first; //the sample rate that has the most channels
} else {
majSR = 0; //if there are no streams with a fixed sample reate
}
}
void Xdf::calcTotalChannel()
......