aboutsummaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 10:05:09 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-15 10:05:09 +0200
commit738a1e859737458d3ee9c5a8e92655bdd107a07e (patch)
treea14f2d3d4800734b77e4fc530b0eef71f2738328 /src/MemlessPoly.cpp
parent0887d7e859605fad9617681695e70e3ef738a19c (diff)
downloaddabmod-738a1e859737458d3ee9c5a8e92655bdd107a07e.tar.gz
dabmod-738a1e859737458d3ee9c5a8e92655bdd107a07e.tar.bz2
dabmod-738a1e859737458d3ee9c5a8e92655bdd107a07e.zip
Revert "DEXTER: Add pacontrol interface"
This reverts commit 150b75b244602c789934f1a5094f33aa7da3c09a.
Diffstat (limited to 'src/MemlessPoly.cpp')
-rw-r--r--src/MemlessPoly.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MemlessPoly.cpp b/src/MemlessPoly.cpp
index 184b5bd..17a7f57 100644
--- a/src/MemlessPoly.cpp
+++ b/src/MemlessPoly.cpp
@@ -314,7 +314,7 @@ void MemlessPoly::worker_thread(MemlessPoly::worker_t *workerdata)
set_thread_name("MemlessPoly");
while (true) {
- worker_t::input_data_t in_data = {};
+ worker_t::input_data_t in_data;
try {
workerdata->in_queue.wait_and_pop(in_data);
}
@@ -386,7 +386,7 @@ int MemlessPoly::internal_process(Buffer* const dataIn, Buffer* dataOut)
// Wait for completion of the tasks
for (auto& worker : m_workers) {
- int ret = 0;
+ int ret;
worker.out_queue.wait_and_pop(ret);
}
}