summaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-06-06 12:10:39 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-06-06 12:10:39 +0200
commit150b75b244602c789934f1a5094f33aa7da3c09a (patch)
tree3b276fab085883d5513ceff4b973b8923632daf0 /src/MemlessPoly.cpp
parent1d07999d373b0fb0b67de576aa4d7b10308b4150 (diff)
downloaddabmod-150b75b244602c789934f1a5094f33aa7da3c09a.tar.gz
dabmod-150b75b244602c789934f1a5094f33aa7da3c09a.tar.bz2
dabmod-150b75b244602c789934f1a5094f33aa7da3c09a.zip
DEXTER: Add pacontrol interface
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 4801ba0..a2b0082 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;
+ int ret = 0;
worker.out_queue.wait_and_pop(ret);
}
}