mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-12 19:27:11 +01:00
More dumb linux bugfix
This commit is contained in:
parent
cb59b04b17
commit
4f601405a1
@ -27,12 +27,12 @@ namespace dsp::routing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int run() {
|
int run() {
|
||||||
int count = _in->read();
|
int count = base_type::_in->read();
|
||||||
if (count < 0) { return -1; }
|
if (count < 0) { return -1; }
|
||||||
|
|
||||||
memcpy(_out->writeBuf, _in->readBuf, count * sizeof(T));
|
memcpy(_out->writeBuf, base_type::_in->readBuf, count * sizeof(T));
|
||||||
|
|
||||||
_in->flush();
|
base_type::_in->flush();
|
||||||
if (!_out->swap(count)) { return -1; }
|
if (!_out->swap(count)) { return -1; }
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user