# HG changeset patch # User Chris Cannam # Date 1396975526 -3600 # Node ID d00a6f6c7fc9b9c46f06cf86d2d120d7e9de2a52 # Parent 49c0a139f1655df8a93309b42cf92d94ef92cb64 Comment diff -r 49c0a139f165 -r d00a6f6c7fc9 src/Silvet.cpp --- a/src/Silvet.cpp Tue Apr 08 13:36:07 2014 +0100 +++ b/src/Silvet.cpp Tue Apr 08 17:45:26 2014 +0100 @@ -435,9 +435,11 @@ Grid out; - //!!! nb we count the CQ latency in terms of processing hops, but - //!!! actually it isn't guaranteed to be an exact number (in fact - //!!! it probably isn't) so this is imprecise -- fix + // We count the CQ latency in terms of processing hops, but + // actually it probably isn't an exact number of hops so this + // isn't quite accurate. But the small constant offset is + // practically irrelevant compared to the jitter from the 40ms + // frame size we reduce to in a moment int latentColumns = m_cq->getLatency() / m_cq->getColumnHop(); for (int i = 0; i < width; ++i) { @@ -481,8 +483,6 @@ // then we only use every fourth filtered column, for 25 // columns per second in the eventual grid - //!!! why, if we're filtering the time columns, don't we just - // reduce to this frame rate before filtering at all? if (m_reducedColumnCount % 4 == 0) { out.push_back(outCol);