diff --git a/Controller.cpp b/Controller.cpp index 07ebff1..82c78a7 100644 --- a/Controller.cpp +++ b/Controller.cpp @@ -659,7 +659,7 @@ void CController::RouteDmrPacket(std::shared_ptr packet) void CController::Dump(const std::shared_ptr p, const std::string &title) const { std::stringstream line; - line << title << " Mod='" << p->GetModule() << "' SID=" << std::showbase << std::hex << ntohs(p->GetStreamId()) << std::noshowbase << " ET:" << std::setprecision(3) << p->GetTimeMS(); + line << title << " Mod='" << p->GetModule() << "' SID=" << std::showbase << std::hex << ntohs(p->GetStreamId()) << std::noshowbase; ECodecType in = p->GetCodecIn(); if (p->DStarIsSet()) diff --git a/TranscoderPacket.cpp b/TranscoderPacket.cpp index 004333a..3611fb1 100644 --- a/TranscoderPacket.cpp +++ b/TranscoderPacket.cpp @@ -143,11 +143,6 @@ uint32_t CTranscoderPacket::GetSequence() const return tcpacket.sequence; } -double CTranscoderPacket::GetTimeMS() const -{ - return 1000.0 * tcpacket.rt_timer.time(); -} - bool CTranscoderPacket::IsLast() const { return tcpacket.is_last; diff --git a/TranscoderPacket.h b/TranscoderPacket.h index 039f6f0..31ad57a 100644 --- a/TranscoderPacket.h +++ b/TranscoderPacket.h @@ -52,7 +52,6 @@ public: ECodecType GetCodecIn() const; uint16_t GetStreamId() const; uint32_t GetSequence() const; - double GetTimeMS() const; bool IsLast() const; bool IsSecond() const; bool DStarIsSet() const;