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

Circular buffer fail.

This commit is contained in:
John Greb
2014-06-08 19:20:18 +01:00
parent 0fc1ac6380
commit 243f3dbf69
2 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -220,7 +220,6 @@ void DSPEngine::work()
// feed data to handlers
for(SampleSinks::const_iterator it = m_sampleSinks.begin(); it != m_sampleSinks.end(); it++)
(*it)->feed(part1begin, part1end, firstOfBurst);
firstOfBurst = false;
}
// second part of FIFO data (used when block wraps around)
if(part2begin != part2end) {
@@ -232,8 +231,8 @@ void DSPEngine::work()
// feed data to handlers
for(SampleSinks::const_iterator it = m_sampleSinks.begin(); it != m_sampleSinks.end(); it++)
(*it)->feed(part2begin, part2end, firstOfBurst);
firstOfBurst = false;
}
firstOfBurst = false;
// adjust FIFO pointers
sampleFifo->readCommit(count);