Given the API to get the GlobalTimecode of a Block doesn't handle the floating
point value of the TrackTimestampScale (attaching a parent track is not common
and even though the value is not directly available unlike a fractional
timestampscale), it allows external code to compute the proper timestamp
when TrackTimestampScale is not 1.0.
* Remove Coremake project files
+ * Add GetRelativeTimestamp() to access unscaled Block timestamps.
+
2021-02-18 Moritz Bunkus <mo@bunkus.online>
* Release v1.6.3.
uint64 ClusterPosition() const;
+ /*!
+ * \return Get the timestamp as written in the Block (not scaled).
+ * \since LIBMATROSKA_VERSION >= 0x010604
+ */
+ int16 GetRelativeTimestamp() const { return LocalTimecode; }
+
protected:
std::vector<DataBuffer *> myBuffers;
std::vector<int32> SizeList;