mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 10:28:28 +01:00
If one more build fails because of a missing namespace imma mc-fucking lose it...
This commit is contained in:
parent
4f601405a1
commit
ed3f87da29
@ -92,13 +92,13 @@ namespace dsp::channel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int run() {
|
int run() {
|
||||||
int count = _in->read();
|
int count = base_type::_in->read();
|
||||||
if (count < 0) { return -1; }
|
if (count < 0) { return -1; }
|
||||||
|
|
||||||
int outCount = process(count, _in->readBuf, out.writeBuf);
|
int outCount = process(count, base_type::_in->readBuf, out.writeBuf);
|
||||||
|
|
||||||
// Swap if some data was generated
|
// Swap if some data was generated
|
||||||
_in->flush();
|
base_type::_in->flush();
|
||||||
if (outCount) {
|
if (outCount) {
|
||||||
if (!out.swap(outCount)) { return -1; }
|
if (!out.swap(outCount)) { return -1; }
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ namespace dsp::filter {
|
|||||||
//DEFAULT_PROC_RUN();
|
//DEFAULT_PROC_RUN();
|
||||||
|
|
||||||
int run() {
|
int run() {
|
||||||
int count = _in->read();
|
int count = base_type::_in->read();
|
||||||
if (count < 0) { return -1; }
|
if (count < 0) { return -1; }
|
||||||
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
|
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
|
||||||
base_type::_in->flush();
|
base_type::_in->flush();
|
||||||
|
@ -40,7 +40,7 @@ namespace dsp::noise_reduction {
|
|||||||
//DEFAULT_PROC_RUN();
|
//DEFAULT_PROC_RUN();
|
||||||
|
|
||||||
int run() {
|
int run() {
|
||||||
int count = _in->read();
|
int count = base_type::_in->read();
|
||||||
if (count < 0) { return -1; }
|
if (count < 0) { return -1; }
|
||||||
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
|
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
|
||||||
base_type::_in->flush();
|
base_type::_in->flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user