1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Added the Local Source plugin

This commit is contained in:
f4exb
2019-05-10 13:20:30 +02:00
parent 6d5d77dc6c
commit ba4c8d7a68
20 changed files with 2529 additions and 1 deletions
+10
View File
@@ -92,3 +92,13 @@ void SampleSourceFifo::bumpIndex(SampleVector::iterator& writeAt)
writeAt = m_data.begin() + m_iw;
}
int SampleSourceFifo::getIteratorOffset(const SampleVector::iterator& iterator)
{
return iterator - m_data.begin();
}
void SampleSourceFifo::setIteratorFromOffset(SampleVector::iterator& iterator, int offset)
{
iterator = m_data.begin() + offset;
}