If one more build fails because of a missing namespace imma mc-fucking lose it...

This commit is contained in:
AlexandreRouma 2022-06-17 18:12:58 +02:00
parent 4f601405a1
commit ed3f87da29
3 changed files with 5 additions and 5 deletions

View File

@ -92,13 +92,13 @@ namespace dsp::channel {
}
int run() {
int count = _in->read();
int count = base_type::_in->read();
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
_in->flush();
base_type::_in->flush();
if (outCount) {
if (!out.swap(outCount)) { return -1; }
}

View File

@ -79,7 +79,7 @@ namespace dsp::filter {
//DEFAULT_PROC_RUN();
int run() {
int count = _in->read();
int count = base_type::_in->read();
if (count < 0) { return -1; }
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
base_type::_in->flush();

View File

@ -40,7 +40,7 @@ namespace dsp::noise_reduction {
//DEFAULT_PROC_RUN();
int run() {
int count = _in->read();
int count = base_type::_in->read();
if (count < 0) { return -1; }
process(count, base_type::_in->readBuf, base_type::out.writeBuf);
base_type::_in->flush();