* @brief Reads timestamps from a single legacy master-time channel into the timestamp cache. */
| 828 | * @brief Reads timestamps from a single legacy master-time channel into the timestamp cache. |
| 829 | */ |
| 830 | void MDF4::Player::readLegacyTimestamps(const std::vector<mdf::IDataGroup*>& dataGroups, |
| 831 | uint64_t legacyTimeRecId) |
| 832 | { |
| 833 | for (auto* dg : dataGroups) { |
| 834 | if (!dg) |
| 835 | continue; |
| 836 | |
| 837 | LegacyTimestampObserver tsObs(*dg, m_timestampCache, m_masterTimeChannel, legacyTimeRecId); |
| 838 | tsObs.AttachObserver(); |
| 839 | m_reader->ReadData(*dg); |
| 840 | tsObs.DetachObserver(); |
| 841 | break; |
| 842 | } |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * @brief Builds a sparse frame index for efficient streaming playback. |
nothing calls this directly
no test coverage detected