1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

Interferometer (7)

This commit is contained in:
f4exb
2019-09-28 20:25:34 +02:00
parent 208b9f4ebf
commit 5fa8a62596
5 changed files with 55 additions and 63 deletions
@@ -97,14 +97,14 @@ void Interferometer::stop()
void Interferometer::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, unsigned int sinkIndex)
{
if (sinkIndex == 0) {
m_count0 = end - begin;
} else if (sinkIndex == 1) {
m_count1 = end - begin;
if (m_count1 != m_count0) {
qDebug("Interferometer::feed: c0: %d 1: %d", m_count0, m_count1);
}
}
// if (sinkIndex == 0) {
// m_count0 = end - begin;
// } else if (sinkIndex == 1) {
// m_count1 = end - begin;
// if (m_count1 != m_count0) {
// qDebug("Interferometer::feed: c0: %d 1: %d", m_count0, m_count1);
// }
// }
m_sink->feed(begin, end, sinkIndex);
}