mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-03 14:35:03 -04:00
Fix typing errors (#935)
Found with: codespell --skip=external --ignore-words-list=axix,bord,parm,soley,ue --write-changes --interactive 2 Co-authored-by: Daniele Forsi <iu5hkx@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ void FFTDataDistributor::process() {
|
||||
memmove(&inputBuffer.data[0], &inputBuffer.data[bufferOffset], bufferedItems*sizeof(liquid_float_complex));
|
||||
bufferOffset = 0;
|
||||
//if there are too much samples, we may even overflow !
|
||||
//as a fallback strategy, drop the last incomming new samples not fitting in inputBuffer.data.
|
||||
//as a fallback strategy, drop the last incoming new samples not fitting in inputBuffer.data.
|
||||
if (bufferedItems + inp->data.size() > bufferMax) {
|
||||
//clamp nbSamplesToAdd
|
||||
nbSamplesToAdd = bufferMax - bufferedItems;
|
||||
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
|
||||
protected:
|
||||
// derived class must implement a process() interface
|
||||
//where typically 'input' data is consummed, processed, and then dispatched
|
||||
//where typically 'input' data is consumed, processed, and then dispatched
|
||||
//with distribute() to all 'outputs'.
|
||||
virtual void process() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user